# near model CODE resource # jump table entries: 120-122 (3 of them) fn00000000: 00000000 4E56 FE7C link A6, -0x0184 00000004 48E7 0100 movem.l -[A7], D7 00000008 206E 0008 movea.l A0, [A6 + 0x8] 0000000C 43EE FE88 lea.l A1, [A6 - 0x178] 00000010 7059 moveq.l D0, 0x59 label00000012: 00000012 22D8 move.l [A1]+, [A0]+ 00000014 51C8 FFFC dbf D0, -0x6 /* 00000012 */ label00000018: 00000018 594F subq.w A7, 4 0000001A 2F3C 5456 4869 move.l -[A7], 0x54564869 /* 'TVHi' */ 00000020 3F3C 02BB move.w -[A7], 0x2BB 00000024 A9A0 syscall GetResource 00000026 2D5F FE84 move.l [A6 - 0x17C], [A7]+ 0000002A 4AAE FE84 tst.l [A6 - 0x17C] 0000002E 6700 0008 beq +0xA /* 00000038 */ 00000032 2F2E FE84 move.l -[A7], [A6 - 0x17C] 00000036 A9AD syscall RemoveResource/RmveResource label00000038: 00000038 4AAE FE84 tst.l [A6 - 0x17C] 0000003C 66DA bne -0x24 /* 00000018 */ 0000003E 554F subq.w A7, 2 00000040 A994 syscall CurResFile 00000042 301F move.w D0, [A7]+ 00000044 5340 subq.w D0, 1 00000046 4E76 trapv 00000048 5240 addq.w D0, 1 0000004A 3F00 move.w -[A7], D0 0000004C A999 syscall UpdateResFile 0000004E 594F subq.w A7, 4 00000050 2F3C 0000 0190 move.l -[A7], 0x190 00000056 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] 0000005A 2D5F FE84 move.l [A6 - 0x17C], [A7]+ 0000005E 206E FE84 movea.l A0, [A6 - 0x17C] 00000062 2008 move.l D0, A0 00000064 6602 bne +0x4 /* 00000068 */ 00000066 4E40 trap 0 label00000068: 00000068 2D50 FE7E move.l [A6 - 0x182], [A0] 0000006C 7E09 moveq.l D7, 0x09 0000006E 3D7C 0001 FE82 move.w [A6 - 0x17E], 0x1 00000074 3D7C 0001 FE7C move.w [A6 - 0x184], 0x1 label0000007A: 0000007A 206E FE7E movea.l A0, [A6 - 0x182] 0000007E 2008 move.l D0, A0 00000080 6602 bne +0x4 /* 00000084 */ 00000082 4E40 trap 0 label00000084: 00000084 302E FE82 move.w D0, [A6 - 0x17E] 00000088 3200 move.w D1, D0 0000008A 5341 subq.w D1, 1 0000008C 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 00000092 322E FE82 move.w D1, [A6 - 0x17E] 00000096 3401 move.w D2, D1 00000098 5342 subq.w D2, 1 0000009A 45BC 0009 EB41 .invalid 2, 0x9EB41 // invalid opcode 4 with b == 6 000000A0 3F3C 001E move.w -[A7], 0x1E 000000A4 0641 FE68 addi.w D1, 0xFE68 000000A8 4876 1000 pea.l [A6 + D1.w] 000000AC 4870 00E0 pea.l [A0 + D0.w - 0x32] 000000B0 4EAD 004A jsr [A5 + 0x4A /* export_5 */] 000000B4 6402 bcc +0x4 /* 000000B8 */ 000000B6 4E42 trap 2 label000000B8: 000000B8 206E FE7E movea.l A0, [A6 - 0x182] 000000BC 2008 move.l D0, A0 000000BE 6602 bne +0x4 /* 000000C2 */ 000000C0 4E40 trap 0 label000000C2: 000000C2 302E FE82 move.w D0, [A6 - 0x17E] 000000C6 3200 move.w D1, D0 000000C8 5341 subq.w D1, 1 000000CA 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 000000D0 322E FE82 move.w D1, [A6 - 0x17E] 000000D4 3401 move.w D2, D1 000000D6 5342 subq.w D2, 1 000000D8 45BC 0009 E541 .invalid 2, 0x9E541 // invalid opcode 4 with b == 6 000000DE 0640 013C addi.w D0, 0x13C 000000E2 21B6 10C4 0000 move.l [A0 + D0.w], [A6 + D1.w - 0x60] 000000E8 302E FE82 move.w D0, [A6 - 0x17E] 000000EC B06E FE7C cmp.w D0, [A6 - 0x184] 000000F0 6702 beq +0x4 /* 000000F4 */ 000000F2 4E46 trap 6 label000000F4: 000000F4 526E FE7C addq.w [A6 - 0x184], 1 000000F8 526E FE82 addq.w [A6 - 0x17E], 1 000000FC 51CF FF7C dbf D7, -0x86 /* 0000007A */ 00000100 2F2E FE84 move.l -[A7], [A6 - 0x17C] 00000104 2F3C 5456 4869 move.l -[A7], 0x54564869 /* 'TVHi' */ 0000010A 3F3C 02BB move.w -[A7], 0x2BB 0000010E 487A 0028 pea.l [PC + 0x28 /* 00000138, value 0x4537061, pstring "Spam" */] 00000112 A9AB syscall AddResource 00000114 554F subq.w A7, 2 00000116 A994 syscall CurResFile 00000118 301F move.w D0, [A7]+ 0000011A 5340 subq.w D0, 1 0000011C 4E76 trapv 0000011E 5240 addq.w D0, 1 00000120 3F00 move.w -[A7], D0 00000122 A999 syscall UpdateResFile 00000124 4CDF 0080 movem.l D7, [A7]+ 00000128 4E5E unlink A6 0000012A 205F movea.l A0, [A7]+ 0000012C 584F addq.w A7, 4 0000012E 4ED0 jmp [A0] 00000130 5341 subq.w D1, 1 00000132 5645 addq.w D5, 3 00000134 4849 pea.l A1 00000136 2020 move.l D0, -[A0] 00000138 0453 7061 subi.w [A3], 0x7061 /* 'pa' */ 0000013C 6D16 blt +0x18 /* 00000154 */ fn0000013E: 0000013E 4E56 FE84 link A6, -0x017C 00000142 48E7 0100 movem.l -[A7], D7 00000146 7E09 moveq.l D7, 0x09 00000148 3D7C 0001 FE86 move.w [A6 - 0x17A], 0x1 0000014E 3D7C 0001 FE84 move.w [A6 - 0x17C], 0x1 label00000154: 00000154 302E FE86 move.w D0, [A6 - 0x17A] 00000158 3200 move.w D1, D0 0000015A 5341 subq.w D1, 1 0000015C 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 00000162 41FA 0054 lea.l A0, [PC + 0x54 /* 000001B8, value 0x18202020, pstring " ..TVark Productions.." */] 00000166 0640 FE68 addi.w D0, 0xFE68 0000016A 43F6 0000 lea.l A1, [A6 + D0.w] 0000016E 7006 moveq.l D0, 0x06 label00000170: 00000170 22D8 move.l [A1]+, [A0]+ 00000172 51C8 FFFC dbf D0, -0x6 /* 00000170 */ 00000176 302E FE86 move.w D0, [A6 - 0x17A] 0000017A 3200 move.w D1, D0 0000017C 5341 subq.w D1, 1 0000017E 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 00000184 42B6 00C4 clr.l [A6 + D0.w - 0x60] 00000188 302E FE86 move.w D0, [A6 - 0x17A] 0000018C B06E FE84 cmp.w D0, [A6 - 0x17C] 00000190 6702 beq +0x4 /* 00000194 */ 00000192 4E46 trap 6 label00000194: 00000194 526E FE84 addq.w [A6 - 0x17C], 1 00000198 526E FE86 addq.w [A6 - 0x17A], 1 0000019C 51CF FFB6 dbf D7, -0x4C /* 00000154 */ 000001A0 486E FE88 pea.l [A6 - 0x178] 000001A4 4EBA FE5A jsr [PC - 0x1A6 /* 00000000 */] 000001A8 4CDF 0080 movem.l D7, [A7]+ 000001AC 4E5E unlink A6 000001AE 4E75 rts 000001B0 434C chk.w D1, A4 000001B2 4541 chk.w D2, D1 000001B4 5248 addq.w A0, 1 000001B6 4920 .invalid 4, -[A0] // invalid opcode 4 with b == 4 000001B8 1820 move.b D4, -[A0] 000001BA 2020 move.l D0, -[A0] 000001BC 2E2E 5456 move.l D7, [A6 + 0x5456] 000001C0 6172 bsr +0x74 /* 00000234 */ 000001C2 6B20 bmi +0x22 /* 000001E4 */ 000001C4 5072 6F64 addq.w <>, 8 000001C8 7563 moveq.l D2, 0x63 000001CA 7469 moveq.l D2, 0x69 000001CC 6F6E ble +0x70 /* 0000023C */ 000001CE 732E moveq.l D1, 0x2E 000001D0 2E98 move.l [A7], [A0]+ fn000001D2: 000001D2 4E56 FFE4 link A6, -0x001C 000001D6 48E7 0100 movem.l -[A7], D7 000001DA 594F subq.w A7, 4 000001DC 2F3C 5456 4869 move.l -[A7], 0x54564869 /* 'TVHi' */ 000001E2 3F3C 02BB move.w -[A7], 0x2BB // begin alternate branch 000001E4-000001F0 label000001E4: 000001E4 02BB A9A0 2D5F FFE8 4AAE andi.l [0x4AAE], 0xA9A02D5F 000001EE FFE8 .invalid <> // end alternate branch 000001E4-000001F0 label000001E4: // (misaligned) 000001E6 A9A0 syscall GetResource 000001E8 2D5F FFE8 move.l [A6 - 0x18], [A7]+ 000001EC 4AAE FFE8 tst.l [A6 - 0x18] 000001F0 6700 00B0 beq +0xB2 /* 000002A2 */ 000001F4 206E FFE8 movea.l A0, [A6 - 0x18] 000001F8 2008 move.l D0, A0 000001FA 6602 bne +0x4 /* 000001FE */ 000001FC 4E40 trap 0 label000001FE: 000001FE 2D50 FFEC move.l [A6 - 0x14], [A0] 00000202 7E09 moveq.l D7, 0x09 00000204 3D7C 0001 FFE6 move.w [A6 - 0x1A], 0x1 0000020A 3D7C 0001 FFE4 move.w [A6 - 0x1C], 0x1 label00000210: 00000210 206E 0008 movea.l A0, [A6 + 0x8] 00000214 302E FFE6 move.w D0, [A6 - 0x1A] 00000218 3200 move.w D1, D0 0000021A 5341 subq.w D1, 1 0000021C 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 00000222 226E FFEC movea.l A1, [A6 - 0x14] 00000226 2209 move.l D1, A1 00000228 6602 bne +0x4 /* 0000022C */ 0000022A 4E40 trap 0 label0000022C: 0000022C 322E FFE6 move.w D1, [A6 - 0x1A] 00000230 3401 move.w D2, D1 00000232 5342 subq.w D2, 1 fn00000234: 00000234 45BC 0009 EB41 .invalid 2, 0x9EB41 // invalid opcode 4 with b == 6 0000023A 3F3C 001E move.w -[A7], 0x1E // begin alternate branch 0000023C-00000242 label0000023C: 0000023C 001E 4871 ori.b [A6]+, 0x71 /* 'q' */ 00000240 10E0 move.b [A0]+, -[A0] // end alternate branch 0000023C-00000242 label0000023C: // (misaligned) 0000023E 4871 10E0 pea.l [A1 + D1.w - 0x32] 00000242 4870 00E0 pea.l [A0 + D0.w - 0x32] 00000246 4EAD 004A jsr [A5 + 0x4A /* export_5 */] 0000024A 6402 bcc +0x4 /* 0000024E */ 0000024C 4E42 trap 2 label0000024E: 0000024E 206E 0008 movea.l A0, [A6 + 0x8] 00000252 302E FFE6 move.w D0, [A6 - 0x1A] 00000256 3200 move.w D1, D0 00000258 5341 subq.w D1, 1 0000025A 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 00000260 226E FFEC movea.l A1, [A6 - 0x14] 00000264 2209 move.l D1, A1 00000266 6602 bne +0x4 /* 0000026A */ 00000268 4E40 trap 0 label0000026A: 0000026A 322E FFE6 move.w D1, [A6 - 0x1A] 0000026E 3401 move.w D2, D1 00000270 5342 subq.w D2, 1 00000272 45BC 0009 E541 .invalid 2, 0x9E541 // invalid opcode 4 with b == 6 00000278 0641 013C addi.w D1, 0x13C 0000027C 0640 013C addi.w D0, 0x13C 00000280 21B1 1000 0000 move.l [A0 + D0.w], [A1 + D1.w] 00000286 302E FFE6 move.w D0, [A6 - 0x1A] 0000028A B06E FFE4 cmp.w D0, [A6 - 0x1C] 0000028E 6702 beq +0x4 /* 00000292 */ 00000290 4E46 trap 6 label00000292: 00000292 526E FFE4 addq.w [A6 - 0x1C], 1 00000296 526E FFE6 addq.w [A6 - 0x1A], 1 0000029A 51CF FF74 dbf D7, -0x8E /* 00000210 */ 0000029E 6000 0010 bra +0x12 /* 000002B0 */ label000002A2: 000002A2 4EBA FE9A jsr [PC - 0x166 /* 0000013E */] 000002A6 206E 0008 movea.l A0, [A6 + 0x8] 000002AA 2F08 move.l -[A7], A0 000002AC 4EBA FF24 jsr [PC - 0xDC /* 000001D2 */] label000002B0: 000002B0 4CDF 0080 movem.l D7, [A7]+ 000002B4 4E5E unlink A6 000002B6 205F movea.l A0, [A7]+ 000002B8 584F addq.w A7, 4 000002BA 4ED0 jmp [A0] 000002BC 4745 chk.w D3, D5 000002BE 5448 addq.w A0, 2 000002C0 4920 .invalid 4, -[A0] // invalid opcode 4 with b == 4 000002C2 2020 move.l D0, -[A0] fn000002C4: 000002C4 4E56 FD70 link A6, -0x0290 000002C8 48E7 0100 movem.l -[A7], D7 000002CC 486E FE88 pea.l [A6 - 0x178] 000002D0 4EBA FF00 jsr [PC - 0x100 /* 000001D2 */] 000002D4 594F subq.w A7, 4 000002D6 3F3C 02AD move.w -[A7], 0x2AD 000002DA 42A7 clr.l -[A7] 000002DC 70FF moveq.l D0, 0xFFFFFFFF 000002DE 2F00 move.l -[A7], D0 000002E0 A97C syscall GetNewDialog 000002E2 2D5F FE84 move.l [A6 - 0x17C], [A7]+ 000002E6 7E09 moveq.l D7, 0x09 000002E8 3D7C 0001 FE82 move.w [A6 - 0x17E], 0x1 000002EE 3D7C 0001 FD70 move.w [A6 - 0x290], 0x1 label000002F4: 000002F4 2F2E FE84 move.l -[A7], [A6 - 0x17C] 000002F8 302E FE82 move.w D0, [A6 - 0x17E] 000002FC C1FC 0003 muls.w D0, 0x3 00000300 81FC 0001 divs.w D0, 0x1 00000304 4E76 trapv 00000306 5240 addq.w D0, 1 00000308 4E76 trapv 0000030A 5340 subq.w D0, 1 0000030C 4E76 trapv 0000030E 5240 addq.w D0, 1 00000310 3F00 move.w -[A7], D0 00000312 486E FE80 pea.l [A6 - 0x180] 00000316 486E FE7A pea.l [A6 - 0x186] 0000031A 486E FE72 pea.l [A6 - 0x18E] 0000031E A98D syscall GetDialogItem/GetDItem 00000320 2F2E FE7A move.l -[A7], [A6 - 0x186] 00000324 302E FE82 move.w D0, [A6 - 0x17E] 00000328 3200 move.w D1, D0 0000032A 5341 subq.w D1, 1 0000032C 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 00000332 0640 FE68 addi.w D0, 0xFE68 00000336 4876 0000 pea.l [A6 + D0.w] 0000033A A98F syscall SetDialogItemText/SetIText 0000033C 2F2E FE84 move.l -[A7], [A6 - 0x17C] 00000340 302E FE82 move.w D0, [A6 - 0x17E] 00000344 C1FC 0003 muls.w D0, 0x3 00000348 81FC 0001 divs.w D0, 0x1 0000034C 4E76 trapv 0000034E 5440 addq.w D0, 2 00000350 4E76 trapv 00000352 5340 subq.w D0, 1 00000354 4E76 trapv 00000356 5240 addq.w D0, 1 00000358 3F00 move.w -[A7], D0 0000035A 486E FE80 pea.l [A6 - 0x180] 0000035E 486E FE7A pea.l [A6 - 0x186] 00000362 486E FE72 pea.l [A6 - 0x18E] 00000366 A98D syscall GetDialogItem/GetDItem 00000368 302E FE82 move.w D0, [A6 - 0x17E] 0000036C 3200 move.w D1, D0 0000036E 5341 subq.w D1, 1 00000370 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 00000376 2F36 00C4 move.l -[A7], [A6 + D0.w - 0x60] 0000037A 486E FD72 pea.l [A6 - 0x28E] 0000037E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */] 00000382 2F2E FE7A move.l -[A7], [A6 - 0x186] 00000386 486E FD72 pea.l [A6 - 0x28E] 0000038A A98F syscall SetDialogItemText/SetIText 0000038C 302E FE82 move.w D0, [A6 - 0x17E] 00000390 B06E FD70 cmp.w D0, [A6 - 0x290] 00000394 6702 beq +0x4 /* 00000398 */ 00000396 4E46 trap 6 label00000398: 00000398 526E FD70 addq.w [A6 - 0x290], 1 0000039C 526E FE82 addq.w [A6 - 0x17E], 1 000003A0 51CF FF52 dbf D7, -0xB0 /* 000002F4 */ 000003A4 42A7 clr.l -[A7] 000003A6 486E FE7E pea.l [A6 - 0x182] 000003AA A991 syscall ModalDialog 000003AC 2F2E FE84 move.l -[A7], [A6 - 0x17C] 000003B0 A983 syscall DisposeDialog 000003B2 0C6E 0002 FE7E cmpi.w [A6 - 0x182], 0x2 000003B8 6600 0006 bne +0x8 /* 000003C0 */ 000003BC 4EBA FD80 jsr [PC - 0x280 /* 0000013E */] label000003C0: 000003C0 4CDF 0080 movem.l D7, [A7]+ 000003C4 4E5E unlink A6 000003C6 4E75 rts 000003C8 4449 neg.w A1 000003CA 5350 subq.w [A0], 1 000003CC 4C41 5948 movem.l D3,D6,A0,A3,A4,A6, D1 fn000003D0: 000003D0 4E56 FD4C link A6, -0x02B4 000003D4 48E7 0100 movem.l -[A7], D7 000003D8 486E FE88 pea.l [A6 - 0x178] 000003DC 4EBA FDF4 jsr [PC - 0x20C /* 000001D2 */] 000003E0 41FA 02C6 lea.l A0, [PC + 0x2C6 /* 000006A8, value 0x1E202020, pstring " " */] 000003E4 43EE FD50 lea.l A1, [A6 - 0x2B0] 000003E8 7006 moveq.l D0, 0x06 label000003EA: 000003EA 22D8 move.l [A1]+, [A0]+ 000003EC 51C8 FFFC dbf D0, -0x6 /* 000003EA */ 000003F0 32D8 move.w [A1]+, [A0]+ 000003F2 12D8 move.b [A1]+, [A0]+ 000003F4 202E 0008 move.l D0, [A6 + 0x8] 000003F8 B0AE FFEC cmp.l D0, [A6 - 0x14] 000003FC 6D00 0296 blt +0x298 /* 00000694 */ 00000400 594F subq.w A7, 4 00000402 3F3C 02BD move.w -[A7], 0x2BD 00000406 42A7 clr.l -[A7] 00000408 70FF moveq.l D0, 0xFFFFFFFF 0000040A 2F00 move.l -[A7], D0 0000040C A97C syscall GetNewDialog 0000040E 2D5F FE7C move.l [A6 - 0x184], [A7]+ label00000412: 00000412 42A7 clr.l -[A7] 00000414 486E FE82 pea.l [A6 - 0x17E] 00000418 A991 syscall ModalDialog 0000041A 0C6E 0001 FE82 cmpi.w [A6 - 0x17E], 0x1 00000420 66F0 bne -0xE /* 00000412 */ 00000422 2F2E FE7C move.l -[A7], [A6 - 0x184] 00000426 3F3C 0004 move.w -[A7], 0x4 0000042A 486E FE80 pea.l [A6 - 0x180] 0000042E 486E FE78 pea.l [A6 - 0x188] 00000432 486E FE70 pea.l [A6 - 0x190] 00000436 A98D syscall GetDialogItem/GetDItem 00000438 2F2E FE78 move.l -[A7], [A6 - 0x188] 0000043C 486E FD70 pea.l [A6 - 0x290] 00000440 A990 syscall GetDialogItemText/GetIText 00000442 7000 moveq.l D0, 0x00 00000444 102E FD70 move.b D0, [A6 - 0x290] 00000448 5340 subq.w D0, 1 0000044A 4E76 trapv 0000044C 5240 addq.w D0, 1 0000044E 3D40 FD4E move.w [A6 - 0x2B2], D0 00000452 0C6E 001E FD4E cmpi.w [A6 - 0x2B2], 0x1E 00000458 6F00 0008 ble +0xA /* 00000462 */ 0000045C 3D7C 001E FD4E move.w [A6 - 0x2B2], 0x1E label00000462: 00000462 302E FD4E move.w D0, [A6 - 0x2B2] 00000466 5340 subq.w D0, 1 00000468 4E76 trapv 0000046A 5240 addq.w D0, 1 0000046C 3E00 move.w D7, D0 0000046E 7001 moveq.l D0, 0x01 00000470 BE40 cmp.w D7, D0 00000472 6D00 005E blt +0x60 /* 000004D2 */ 00000476 3D40 FE86 move.w [A6 - 0x17A], D0 0000047A 3D40 FD4C move.w [A6 - 0x2B4], D0 0000047E 9E40 sub.w D7, D0 label00000480: 00000480 302E FE86 move.w D0, [A6 - 0x17A] 00000484 486E FD50 pea.l [A6 - 0x2B0] 00000488 3F00 move.w -[A7], D0 0000048A 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 0000048E 6402 bcc +0x4 /* 00000492 */ 00000490 4E42 trap 2 label00000492: 00000492 322E FE86 move.w D1, [A6 - 0x17A] 00000496 486E FD70 pea.l [A6 - 0x290] 0000049A 3F01 move.w -[A7], D1 0000049C 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 000004A0 6402 bcc +0x4 /* 000004A4 */ 000004A2 4E42 trap 2 label000004A4: 000004A4 7400 moveq.l D2, 0x00 000004A6 0641 FD70 addi.w D1, 0xFD70 000004AA 1436 1000 move.b D2, [A6 + D1.w] 000004AE 45BC 00FF 0640 .invalid 2, 0xFF0640 // invalid opcode 4 with b == 6 000004B4 FD50 .extension 0xD50 <> // unimplemented 000004B6 1D82 0000 move.b [A6 + D0.w], D2 000004BA 302E FE86 move.w D0, [A6 - 0x17A] 000004BE B06E FD4C cmp.w D0, [A6 - 0x2B4] 000004C2 6702 beq +0x4 /* 000004C6 */ 000004C4 4E46 trap 6 label000004C6: 000004C6 526E FD4C addq.w [A6 - 0x2B4], 1 000004CA 526E FE86 addq.w [A6 - 0x17A], 1 000004CE 51CF FFB0 dbf D7, -0x52 /* 00000480 */ label000004D2: 000004D2 0C6E 001E FD4E cmpi.w [A6 - 0x2B2], 0x1E 000004D8 6C00 0056 bge +0x58 /* 00000530 */ 000004DC 302E FD4E move.w D0, [A6 - 0x2B2] 000004E0 5240 addq.w D0, 1 000004E2 4E76 trapv 000004E4 5340 subq.w D0, 1 000004E6 4E76 trapv 000004E8 5240 addq.w D0, 1 000004EA 7E1E moveq.l D7, 0x1E 000004EC BE40 cmp.w D7, D0 000004EE 6D00 0040 blt +0x42 /* 00000530 */ 000004F2 3D40 FE86 move.w [A6 - 0x17A], D0 000004F6 3D40 FD4C move.w [A6 - 0x2B4], D0 000004FA 9E40 sub.w D7, D0 label000004FC: 000004FC 302E FE86 move.w D0, [A6 - 0x17A] 00000500 486E FD50 pea.l [A6 - 0x2B0] 00000504 3F00 move.w -[A7], D0 00000506 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 0000050A 6402 bcc +0x4 /* 0000050E */ 0000050C 4E42 trap 2 label0000050E: 0000050E 0640 FD50 addi.w D0, 0xFD50 00000512 1DBC 0020 0000 move.b [A6 + D0.w], 0x20 /* ' ' */ 00000518 302E FE86 move.w D0, [A6 - 0x17A] 0000051C B06E FD4C cmp.w D0, [A6 - 0x2B4] 00000520 6702 beq +0x4 /* 00000524 */ 00000522 4E46 trap 6 label00000524: 00000524 526E FD4C addq.w [A6 - 0x2B4], 1 00000528 526E FE86 addq.w [A6 - 0x17A], 1 0000052C 51CF FFCE dbf D7, -0x34 /* 000004FC */ label00000530: 00000530 2F2E FE7C move.l -[A7], [A6 - 0x184] 00000534 A983 syscall DisposeDialog 00000536 3D7C 000A FE86 move.w [A6 - 0x17A], 0xA /* '\n' */ 0000053C 426E FE84 clr.w [A6 - 0x17C] label00000540: 00000540 4A6E FE86 tst.w [A6 - 0x17A] 00000544 5EC0 sgt D0 00000546 4400 neg.b D0 00000548 4A6E FE84 tst.w [A6 - 0x17C] 0000054C 57C1 seq D1 0000054E 4401 neg.b D1 00000550 C001 and.b D0, D1 00000552 4A00 tst.b D0 00000554 6700 0042 beq +0x44 /* 00000598 */ 00000558 302E FE86 move.w D0, [A6 - 0x17A] 0000055C 3200 move.w D1, D0 0000055E 5341 subq.w D1, 1 00000560 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 00000566 222E 0008 move.l D1, [A6 + 0x8] 0000056A B2B6 00C4 cmp.l D1, [A6 + D0.w - 0x60] 0000056E 6D00 0018 blt +0x1A /* 00000588 */ 00000572 302E FE86 move.w D0, [A6 - 0x17A] 00000576 5340 subq.w D0, 1 00000578 4E76 trapv 0000057A 5340 subq.w D0, 1 0000057C 4E76 trapv 0000057E 5240 addq.w D0, 1 00000580 3D40 FE86 move.w [A6 - 0x17A], D0 00000584 6000 0010 bra +0x12 /* 00000596 */ label00000588: 00000588 302E FE86 move.w D0, [A6 - 0x17A] 0000058C 5340 subq.w D0, 1 0000058E 4E76 trapv 00000590 5240 addq.w D0, 1 00000592 3D40 FE84 move.w [A6 - 0x17C], D0 label00000596: 00000596 60A8 bra -0x56 /* 00000540 */ label00000598: 00000598 302E FE84 move.w D0, [A6 - 0x17C] 0000059C 5240 addq.w D0, 1 0000059E 4E76 trapv 000005A0 5340 subq.w D0, 1 000005A2 4E76 trapv 000005A4 5240 addq.w D0, 1 000005A6 3D40 FE84 move.w [A6 - 0x17C], D0 000005AA 0C6E 000A FE84 cmpi.w [A6 - 0x17C], 0xA /* '\n' */ 000005B0 6C00 009C bge +0x9E /* 0000064E */ 000005B4 302E FE84 move.w D0, [A6 - 0x17C] 000005B8 5240 addq.w D0, 1 000005BA 4E76 trapv 000005BC 5340 subq.w D0, 1 000005BE 4E76 trapv 000005C0 5240 addq.w D0, 1 000005C2 7E0A moveq.l D7, 0x0A 000005C4 BE40 cmp.w D7, D0 000005C6 6D00 0086 blt +0x88 /* 0000064E */ 000005CA 3D47 FE86 move.w [A6 - 0x17A], D7 000005CE 3D47 FD4C move.w [A6 - 0x2B4], D7 000005D2 9E40 sub.w D7, D0 label000005D4: 000005D4 302E FE86 move.w D0, [A6 - 0x17A] 000005D8 3200 move.w D1, D0 000005DA 5341 subq.w D1, 1 000005DC 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 000005E2 322E FE86 move.w D1, [A6 - 0x17A] 000005E6 5341 subq.w D1, 1 000005E8 4E76 trapv 000005EA 3401 move.w D2, D1 000005EC 5342 subq.w D2, 1 000005EE 45BC 0009 EB41 .invalid 2, 0x9EB41 // invalid opcode 4 with b == 6 000005F4 3F3C 001E move.w -[A7], 0x1E 000005F8 0641 FE68 addi.w D1, 0xFE68 000005FC 4876 1000 pea.l [A6 + D1.w] 00000600 0640 FE68 addi.w D0, 0xFE68 00000604 4876 0000 pea.l [A6 + D0.w] 00000608 4EAD 004A jsr [A5 + 0x4A /* export_5 */] 0000060C 6402 bcc +0x4 /* 00000610 */ 0000060E 4E42 trap 2 label00000610: 00000610 302E FE86 move.w D0, [A6 - 0x17A] 00000614 3200 move.w D1, D0 00000616 5341 subq.w D1, 1 00000618 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 0000061E 322E FE86 move.w D1, [A6 - 0x17A] 00000622 5341 subq.w D1, 1 00000624 4E76 trapv 00000626 3401 move.w D2, D1 00000628 5342 subq.w D2, 1 0000062A 45BC 0009 E541 .invalid 2, 0x9E541 // invalid opcode 4 with b == 6 00000630 2DB6 10C4 00C4 move.l [A6 + D0.w - 0x60], [A6 + D1.w - 0x60] 00000636 302E FE86 move.w D0, [A6 - 0x17A] 0000063A B06E FD4C cmp.w D0, [A6 - 0x2B4] 0000063E 6702 beq +0x4 /* 00000642 */ 00000640 4E46 trap 6 label00000642: 00000642 536E FD4C subq.w [A6 - 0x2B4], 1 00000646 536E FE86 subq.w [A6 - 0x17A], 1 0000064A 51CF FF88 dbf D7, -0x7A /* 000005D4 */ label0000064E: 0000064E 302E FE84 move.w D0, [A6 - 0x17C] 00000652 3200 move.w D1, D0 00000654 5341 subq.w D1, 1 00000656 43BC 0009 EB40 .invalid 1, 0x9EB40 // invalid opcode 4 with b == 6 0000065C 3F3C 001E move.w -[A7], 0x1E 00000660 486E FD50 pea.l [A6 - 0x2B0] 00000664 0640 FE68 addi.w D0, 0xFE68 00000668 4876 0000 pea.l [A6 + D0.w] 0000066C 4EAD 004A jsr [A5 + 0x4A /* export_5 */] 00000670 6402 bcc +0x4 /* 00000674 */ 00000672 4E42 trap 2 label00000674: 00000674 302E FE84 move.w D0, [A6 - 0x17C] 00000678 3200 move.w D1, D0 0000067A 5341 subq.w D1, 1 0000067C 43BC 0009 E540 .invalid 1, 0x9E540 // invalid opcode 4 with b == 6 00000682 2DAE 0008 00C4 move.l [A6 + D0.w - 0x60], [A6 + 0x8] 00000688 486E FE88 pea.l [A6 - 0x178] 0000068C 4EBA F972 jsr [PC - 0x68E /* 00000000 */] 00000690 4EBA FC32 jsr [PC - 0x3CE /* 000002C4 */] label00000694: 00000694 4CDF 0080 movem.l D7, [A7]+ 00000698 4E5E unlink A6 0000069A 205F movea.l A0, [A7]+ 0000069C 584F addq.w A7, 4 0000069E 4ED0 jmp [A0] 000006A0 4348 chk.w D1, A0 000006A2 4543 chk.w D2, D3 000006A4 4B48 chk.w D5, A0 000006A6 4920 .invalid 4, -[A0] // invalid opcode 4 with b == 4 000006A8 1E20 move.b D7, -[A0] 000006AA 2020 move.l D0, -[A0] 000006AC 2020 move.l D0, -[A0] 000006AE 2020 move.l D0, -[A0] 000006B0 2020 move.l D0, -[A0] 000006B2 2020 move.l D0, -[A0] 000006B4 2020 move.l D0, -[A0] 000006B6 2020 move.l D0, -[A0] 000006B8 2020 move.l D0, -[A0] 000006BA 2020 move.l D0, -[A0] 000006BC 2020 move.l D0, -[A0] 000006BE 2020 move.l D0, -[A0] 000006C0 2020 move.l D0, -[A0] 000006C2 2020 move.l D0, -[A0] 000006C4 2020 move.l D0, -[A0] 000006C6 2008 move.l D0, A0 fn000006C8: 000006C8 4E56 FFEE link A6, -0x0012 000006CC 4E71 nop 000006CE 4E71 nop 000006D0 3D7C 0120 FFEE move.w [A6 - 0x12], 0x120 000006D6 486E FFEE pea.l [A6 - 0x12] 000006DA 3F3C 0001 move.w -[A7], 0x1 000006DE 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 000006E2 6402 bcc +0x4 /* 000006E6 */ 000006E4 4E42 trap 2 label000006E6: 000006E6 1D7C 0014 FFEF move.b [A6 - 0x11], 0x14 000006EC 594F subq.w A7, 4 000006EE 3F3C 0080 move.w -[A7], 0x80 000006F2 486E FFEE pea.l [A6 - 0x12] 000006F6 A931 syscall NewMenu 000006F8 2B5F F858 move.l [A5 - 0x7A8], [A7]+ 000006FC 594F subq.w A7, 4 000006FE 3F3C 0081 move.w -[A7], 0x81 00000702 487A 010E pea.l [PC + 0x10E /* 00000812, value 0x446696C, pstring "File" */] 00000706 A931 syscall NewMenu 00000708 2B5F F854 move.l [A5 - 0x7AC], [A7]+ 0000070C 594F subq.w A7, 4 0000070E 3F3C 0082 move.w -[A7], 0x82 00000712 487A 00F8 pea.l [PC + 0xF8 /* 0000080C, value 0x4456469, pstring "Edit" */] 00000716 A931 syscall NewMenu 00000718 2B5F F850 move.l [A5 - 0x7B0], [A7]+ 0000071C 594F subq.w A7, 4 0000071E 3F3C 0083 move.w -[A7], 0x83 00000722 487A 00E2 pea.l [PC + 0xE2 /* 00000806, value 0x447616D, pstring "Game" */] 00000726 A931 syscall NewMenu 00000728 2B5F F84C move.l [A5 - 0x7B4], [A7]+ 0000072C 2F2D F858 move.l -[A7], [A5 - 0x7A8] 00000730 487A 00C2 pea.l [PC + 0xC2 /* 000007F4, value 0x1041626F, pstring "About MacTris;(-" */] 00000734 A933 syscall AppendMenu 00000736 2F2D F858 move.l -[A7], [A5 - 0x7A8] 0000073A 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */ 00000740 A94D syscall AppendResMenu/AddResMenu 00000742 2F2D F854 move.l -[A7], [A5 - 0x7AC] 00000746 487A 0096 pea.l [PC + 0x96 /* 000007DE, value 0x144E6577, pstring "New Game/N;(-;Quit/Q" */] 0000074A A933 syscall AppendMenu 0000074C 2F2D F850 move.l -[A7], [A5 - 0x7B0] 00000750 487A 0062 pea.l [PC + 0x62 /* 000007B4, value 0x2928556E ')(Un', pstring "(Undo/Z;(-;(Cut/X;(Copy/C;(Paste/V;(Clear" */] 00000754 A933 syscall AppendMenu 00000756 2F2D F84C move.l -[A7], [A5 - 0x7B4] 0000075A 487A 0034 pea.l [PC + 0x34 /* 00000790, value 0x22496E73 '\"Ins', pstring "Instructions/I;Options/O;Hi Scores" */] 0000075E A933 syscall AppendMenu 00000760 A934 syscall ClearMenuBar 00000762 2F2D F858 move.l -[A7], [A5 - 0x7A8] 00000766 4267 clr.w -[A7] 00000768 A935 syscall InsertMenu 0000076A 2F2D F854 move.l -[A7], [A5 - 0x7AC] 0000076E 4267 clr.w -[A7] 00000770 A935 syscall InsertMenu 00000772 2F2D F850 move.l -[A7], [A5 - 0x7B0] 00000776 4267 clr.w -[A7] 00000778 A935 syscall InsertMenu 0000077A 2F2D F84C move.l -[A7], [A5 - 0x7B4] 0000077E 4267 clr.w -[A7] 00000780 A935 syscall InsertMenu 00000782 A937 syscall DrawMenuBar 00000784 4E5E unlink A6 00000786 4E75 rts 00000788 4D41 chk.w D6, D1 0000078A 4B45 chk.w D5, D5 0000078C 4D45 chk.w D6, D5 0000078E 4E55 2249 link A5, -0xFFFFDDB7 00000792 6E73 bgt +0x75 /* 00000807 */ 00000794 7472 moveq.l D2, 0x72 00000796 7563 moveq.l D2, 0x63 00000798 7469 moveq.l D2, 0x69 0000079A 6F6E ble +0x70 /* 0000080A */ 0000079C 732F moveq.l D1, 0x2F 0000079E 493B 4F70 7469 6F6E .invalid 4, [PC + 0x74696F6E] // invalid opcode 4 with b == 4 000007A6 732F moveq.l D1, 0x2F 000007A8 4F3B 4869 .invalid 7, [PC + D4 + 0x69] // invalid opcode 4 with b == 4 000007AC 2053 movea.l A0, [A3] 000007AE 636F bls +0x71 /* 0000081F */ 000007B0 7265 moveq.l D1, 0x65 000007B2 7316 moveq.l D1, 0x16 000007B4 2928 556E move.l -[A4], [A0 + 0x556E] 000007B8 646F bcc +0x71 /* 00000829 */ 000007BA 2F5A 3B28 move.l [A7 + 0x3B28], [A2]+ 000007BE 2D3B 2843 move.l -[A6], [PC + D2 + 0x43] 000007C2 7574 moveq.l D2, 0x74 000007C4 2F58 3B28 move.l [A7 + 0x3B28], [A0]+ 000007C8 436F 7079 chk.w D1, [A7 + 0x7079] 000007CC 2F43 3B28 move.l [A7 + 0x3B28], D3 000007D0 5061 addq.w -[A1], 8 000007D2 7374 moveq.l D1, 0x74 000007D4 652F bcs +0x31 /* 00000805 */ 000007D6 563B 2843 addq.b [PC + D2 + 0x43], 3 000007DA 6C65 bge +0x67 /* 00000841 */ 000007DC 6172 bsr +0x74 /* 00000850 */ 000007DE 144E movea.b A2, A6 000007E0 6577 bcs +0x79 /* 00000859 */ 000007E2 2047 movea.l A0, D7 000007E4 616D bsr +0x6F /* 00000853 */ 000007E6 652F bcs +0x31 /* 00000817 */ 000007E8 4E3B .invalid // invalid opcode 4 000007EA 282D 3B51 move.l D4, [A5 + 0x3B51] 000007EE 7569 moveq.l D2, 0x69 000007F0 742F moveq.l D2, 0x2F 000007F2 5116 subq.b [A6], 8 000007F4 1041 movea.b A0, D1 000007F6 626F bhi +0x71 /* 00000867 */ 000007F8 7574 moveq.l D2, 0x74 000007FA 204D movea.l A0, A5 000007FC 6163 bsr +0x65 /* 00000861 */ 000007FE 5472 6973 3B28 2D16 0447 616D addq.w [[A2 + 0x3B282D16] + 0x447616D], 2 label0000080A: 0000080A 6516 bcs +0x18 /* 00000822 */ 0000080C 0445 6469 subi.w D5, 0x6469 /* 'di' */ 00000810 7416 moveq.l D2, 0x16 00000812 0446 696C subi.w D6, 0x696C /* 'il' */ 00000816 6516 bcs +0x18 /* 0000082E */ fn00000818: 00000818 4E56 FFF0 link A6, -0x0010 0000081C 4E71 nop 0000081E 4E71 nop 00000820 206E 0008 movea.l A0, [A6 + 0x8] // begin alternate branch 00000822-0000082A label00000822: 00000822 0008 317C ori.b A0, 0x7C /* '|' */ 00000826 0003 0010 ori.b D3, 0x10 // end alternate branch 00000822-0000082A label00000822: // (misaligned) 00000824 317C 0003 0010 move.w [A0 + 0x10], 0x3 0000082A 206E 0008 movea.l A0, [A6 + 0x8] label0000082E: 0000082E 4268 0012 clr.w [A0 + 0x12] 00000832 302D F89A move.w D0, [A5 - 0x766] 00000836 6000 0240 bra +0x242 /* 00000A78 */ 0000083A 206E 0008 movea.l A0, [A6 + 0x8] 0000083E 30BC 0001 move.w [A0], 0x1 00000842 206E 0008 movea.l A0, [A6 + 0x8] 00000846 317C 0002 0002 move.w [A0 + 0x2], 0x2 0000084C 206E 0008 movea.l A0, [A6 + 0x8] fn00000850: 00000850 317C 0003 0004 move.w [A0 + 0x4], 0x3 00000856 206E 0008 movea.l A0, [A6 + 0x8] 0000085A 317C 0003 0006 move.w [A0 + 0x6], 0x3 00000860 206E 0008 movea.l A0, [A6 + 0x8] 00000864 317C 0002 0008 move.w [A0 + 0x8], 0x2 0000086A 206E 0008 movea.l A0, [A6 + 0x8] 0000086E 317C 0002 000A move.w [A0 + 0xA], 0x2 00000874 206E 0008 movea.l A0, [A6 + 0x8] 00000878 317C 0002 000C move.w [A0 + 0xC], 0x2 0000087E 206E 0008 movea.l A0, [A6 + 0x8] 00000882 317C 0003 000E move.w [A0 + 0xE], 0x3 00000888 6000 020E bra +0x210 /* 00000A98 */ 0000088C 206E 0008 movea.l A0, [A6 + 0x8] 00000890 30BC 0001 move.w [A0], 0x1 00000894 206E 0008 movea.l A0, [A6 + 0x8] 00000898 317C 0001 0002 move.w [A0 + 0x2], 0x1 0000089E 206E 0008 movea.l A0, [A6 + 0x8] 000008A2 317C 0002 0004 move.w [A0 + 0x4], 0x2 000008A8 206E 0008 movea.l A0, [A6 + 0x8] 000008AC 317C 0003 0006 move.w [A0 + 0x6], 0x3 000008B2 206E 0008 movea.l A0, [A6 + 0x8] 000008B6 317C 0003 0008 move.w [A0 + 0x8], 0x3 000008BC 206E 0008 movea.l A0, [A6 + 0x8] 000008C0 317C 0002 000A move.w [A0 + 0xA], 0x2 000008C6 206E 0008 movea.l A0, [A6 + 0x8] 000008CA 317C 0002 000C move.w [A0 + 0xC], 0x2 000008D0 206E 0008 movea.l A0, [A6 + 0x8] 000008D4 317C 0002 000E move.w [A0 + 0xE], 0x2 000008DA 6000 01BC bra +0x1BE /* 00000A98 */ 000008DE 206E 0008 movea.l A0, [A6 + 0x8] 000008E2 30BC 0001 move.w [A0], 0x1 000008E6 206E 0008 movea.l A0, [A6 + 0x8] 000008EA 317C 0002 0002 move.w [A0 + 0x2], 0x2 000008F0 206E 0008 movea.l A0, [A6 + 0x8] 000008F4 317C 0003 0004 move.w [A0 + 0x4], 0x3 000008FA 206E 0008 movea.l A0, [A6 + 0x8] 000008FE 317C 0004 0006 move.w [A0 + 0x6], 0x4 00000904 206E 0008 movea.l A0, [A6 + 0x8] 00000908 317C 0002 0008 move.w [A0 + 0x8], 0x2 0000090E 206E 0008 movea.l A0, [A6 + 0x8] 00000912 317C 0002 000A move.w [A0 + 0xA], 0x2 00000918 206E 0008 movea.l A0, [A6 + 0x8] 0000091C 317C 0002 000C move.w [A0 + 0xC], 0x2 00000922 206E 0008 movea.l A0, [A6 + 0x8] 00000926 317C 0002 000E move.w [A0 + 0xE], 0x2 0000092C 6000 016A bra +0x16C /* 00000A98 */ 00000930 206E 0008 movea.l A0, [A6 + 0x8] 00000934 30BC 0002 move.w [A0], 0x2 00000938 206E 0008 movea.l A0, [A6 + 0x8] 0000093C 317C 0002 0002 move.w [A0 + 0x2], 0x2 00000942 206E 0008 movea.l A0, [A6 + 0x8] 00000946 317C 0003 0004 move.w [A0 + 0x4], 0x3 0000094C 206E 0008 movea.l A0, [A6 + 0x8] 00000950 317C 0003 0006 move.w [A0 + 0x6], 0x3 00000956 206E 0008 movea.l A0, [A6 + 0x8] 0000095A 317C 0002 0008 move.w [A0 + 0x8], 0x2 00000960 206E 0008 movea.l A0, [A6 + 0x8] 00000964 317C 0003 000A move.w [A0 + 0xA], 0x3 0000096A 206E 0008 movea.l A0, [A6 + 0x8] 0000096E 317C 0002 000C move.w [A0 + 0xC], 0x2 00000974 206E 0008 movea.l A0, [A6 + 0x8] 00000978 317C 0003 000E move.w [A0 + 0xE], 0x3 0000097E 6000 0118 bra +0x11A /* 00000A98 */ 00000982 206E 0008 movea.l A0, [A6 + 0x8] 00000986 30BC 0001 move.w [A0], 0x1 0000098A 206E 0008 movea.l A0, [A6 + 0x8] 0000098E 317C 0002 0002 move.w [A0 + 0x2], 0x2 00000994 206E 0008 movea.l A0, [A6 + 0x8] 00000998 317C 0002 0004 move.w [A0 + 0x4], 0x2 0000099E 206E 0008 movea.l A0, [A6 + 0x8] 000009A2 317C 0003 0006 move.w [A0 + 0x6], 0x3 000009A8 206E 0008 movea.l A0, [A6 + 0x8] 000009AC 317C 0002 0008 move.w [A0 + 0x8], 0x2 000009B2 206E 0008 movea.l A0, [A6 + 0x8] 000009B6 317C 0002 000A move.w [A0 + 0xA], 0x2 000009BC 206E 0008 movea.l A0, [A6 + 0x8] 000009C0 317C 0003 000C move.w [A0 + 0xC], 0x3 000009C6 206E 0008 movea.l A0, [A6 + 0x8] 000009CA 317C 0003 000E move.w [A0 + 0xE], 0x3 000009D0 6000 00C6 bra +0xC8 /* 00000A98 */ 000009D4 206E 0008 movea.l A0, [A6 + 0x8] 000009D8 30BC 0001 move.w [A0], 0x1 000009DC 206E 0008 movea.l A0, [A6 + 0x8] 000009E0 317C 0002 0002 move.w [A0 + 0x2], 0x2 000009E6 206E 0008 movea.l A0, [A6 + 0x8] 000009EA 317C 0002 0004 move.w [A0 + 0x4], 0x2 000009F0 206E 0008 movea.l A0, [A6 + 0x8] 000009F4 317C 0003 0006 move.w [A0 + 0x6], 0x3 000009FA 206E 0008 movea.l A0, [A6 + 0x8] 000009FE 317C 0003 0008 move.w [A0 + 0x8], 0x3 00000A04 206E 0008 movea.l A0, [A6 + 0x8] 00000A08 317C 0003 000A move.w [A0 + 0xA], 0x3 00000A0E 206E 0008 movea.l A0, [A6 + 0x8] 00000A12 317C 0002 000C move.w [A0 + 0xC], 0x2 00000A18 206E 0008 movea.l A0, [A6 + 0x8] 00000A1C 317C 0002 000E move.w [A0 + 0xE], 0x2 00000A22 6000 0074 bra +0x76 /* 00000A98 */ 00000A26 206E 0008 movea.l A0, [A6 + 0x8] 00000A2A 30BC 0001 move.w [A0], 0x1 00000A2E 206E 0008 movea.l A0, [A6 + 0x8] 00000A32 317C 0002 0002 move.w [A0 + 0x2], 0x2 00000A38 206E 0008 movea.l A0, [A6 + 0x8] 00000A3C 317C 0002 0004 move.w [A0 + 0x4], 0x2 00000A42 206E 0008 movea.l A0, [A6 + 0x8] 00000A46 317C 0003 0006 move.w [A0 + 0x6], 0x3 00000A4C 206E 0008 movea.l A0, [A6 + 0x8] 00000A50 317C 0002 0008 move.w [A0 + 0x8], 0x2 00000A56 206E 0008 movea.l A0, [A6 + 0x8] 00000A5A 317C 0002 000A move.w [A0 + 0xA], 0x2 00000A60 206E 0008 movea.l A0, [A6 + 0x8] 00000A64 317C 0003 000C move.w [A0 + 0xC], 0x3 00000A6A 206E 0008 movea.l A0, [A6 + 0x8] 00000A6E 317C 0002 000E move.w [A0 + 0xE], 0x2 00000A74 6000 0022 bra +0x24 /* 00000A98 */ label00000A78: 00000A78 0C40 0007 cmpi.w D0, 0x7 00000A7C 6418 bcc +0x1A /* 00000A96 */ 00000A7E D040 add.w D0, D0 00000A80 303B 0006 move.w D0, [PC + D0.w + 0x6] 00000A84 4EFB 0002 jmp [PC + D0.w + 0x2] 00000A88 FDB2 .invalid <> 00000A8A FE04 FE56 .unknown 0xFE04 0xFE56 (W = 7) 00000A8E FEA8 FEFA .extension 0xEA8 <> // unimplemented 00000A92 FF4C .extension 0xF4C <> // unimplemented 00000A94 FF9E .invalid <> label00000A96: 00000A96 4E44 trap 4 label00000A98: 00000A98 4E5E unlink A6 00000A9A 205F movea.l A0, [A7]+ 00000A9C 584F addq.w A7, 4 00000A9E 4ED0 jmp [A0] 00000AA0 4D41 chk.w D6, D1 00000AA2 4B45 chk.w D5, D5 00000AA4 424C clr.w A4 00000AA6 4F43 chk.w D7, D3 fn00000AA8: 00000AA8 4E56 FFC8 link A6, -0x0038 00000AAC 48E7 0100 movem.l -[A7], D7 00000AB0 206E 0008 movea.l A0, [A6 + 0x8] 00000AB4 43EE FFDC lea.l A1, [A6 - 0x24] 00000AB8 7004 moveq.l D0, 0x04 label00000ABA: 00000ABA 22D8 move.l [A1]+, [A0]+ 00000ABC 51C8 FFFC dbf D0, -0x6 /* 00000ABA */ 00000AC0 486E FFD4 pea.l [A6 - 0x2C] 00000AC4 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000AC8 3F3C 00C8 move.w -[A7], 0xC8 00000ACC 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00000AD0 3F3C 010E move.w -[A7], 0x10E 00000AD4 A8A7 syscall SetRect 00000AD6 486E FFD4 pea.l [A6 - 0x2C] 00000ADA A8A3 syscall EraseRect 00000ADC 7E03 moveq.l D7, 0x03 00000ADE 426E FFD2 clr.w [A6 - 0x2E] 00000AE2 426E FFD0 clr.w [A6 - 0x30] label00000AE6: 00000AE6 486E FFD4 pea.l [A6 - 0x2C] 00000AEA 302E FFD2 move.w D0, [A6 - 0x2E] 00000AEE 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00000AF4 3036 00DC move.w D0, [A6 + D0.w - 0x36] 00000AF8 C1FC 000F muls.w D0, 0xF 00000AFC 81FC 0001 divs.w D0, 0x1 00000B00 4E76 trapv 00000B02 0640 000A addi.w D0, 0xA /* '\n' */ 00000B06 4E76 trapv 00000B08 5340 subq.w D0, 1 00000B0A 4E76 trapv 00000B0C 5240 addq.w D0, 1 00000B0E 3F00 move.w -[A7], D0 00000B10 302E FFD2 move.w D0, [A6 - 0x2E] 00000B14 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00000B1A 3036 00E4 move.w D0, [A6 + D0.w - 0x28] 00000B1E C1FC 000F muls.w D0, 0xF 00000B22 81FC 0001 divs.w D0, 0x1 00000B26 4E76 trapv 00000B28 0640 00C8 addi.w D0, 0xC8 00000B2C 4E76 trapv 00000B2E 5340 subq.w D0, 1 00000B30 4E76 trapv 00000B32 5240 addq.w D0, 1 00000B34 3F00 move.w -[A7], D0 00000B36 302E FFD2 move.w D0, [A6 - 0x2E] 00000B3A 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00000B40 3036 00DC move.w D0, [A6 + D0.w - 0x36] 00000B44 5240 addq.w D0, 1 00000B46 4E76 trapv 00000B48 C1FC 000F muls.w D0, 0xF 00000B4C 81FC 0001 divs.w D0, 0x1 00000B50 4E76 trapv 00000B52 0640 000A addi.w D0, 0xA /* '\n' */ 00000B56 4E76 trapv 00000B58 5340 subq.w D0, 1 00000B5A 4E76 trapv 00000B5C 5240 addq.w D0, 1 00000B5E 3F00 move.w -[A7], D0 00000B60 302E FFD2 move.w D0, [A6 - 0x2E] 00000B64 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00000B6A 3036 00E4 move.w D0, [A6 + D0.w - 0x28] 00000B6E 5240 addq.w D0, 1 00000B70 4E76 trapv 00000B72 C1FC 000F muls.w D0, 0xF 00000B76 81FC 0001 divs.w D0, 0x1 00000B7A 4E76 trapv 00000B7C 0640 00C8 addi.w D0, 0xC8 00000B80 4E76 trapv 00000B82 5340 subq.w D0, 1 00000B84 4E76 trapv 00000B86 5240 addq.w D0, 1 00000B88 3F00 move.w -[A7], D0 00000B8A A8A7 syscall SetRect 00000B8C 486E FFD4 pea.l [A6 - 0x2C] 00000B90 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000B94 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000B98 A8B1 syscall PaintRoundRect 00000B9A 302E FFD2 move.w D0, [A6 - 0x2E] 00000B9E B06E FFD0 cmp.w D0, [A6 - 0x30] 00000BA2 6702 beq +0x4 /* 00000BA6 */ 00000BA4 4E46 trap 6 label00000BA6: 00000BA6 526E FFD0 addq.w [A6 - 0x30], 1 00000BAA 526E FFD2 addq.w [A6 - 0x2E], 1 00000BAE 51CF FF36 dbf D7, -0xCC /* 00000AE6 */ 00000BB2 4CDF 0080 movem.l D7, [A7]+ 00000BB6 4E5E unlink A6 00000BB8 205F movea.l A0, [A7]+ 00000BBA 584F addq.w A7, 4 00000BBC 4ED0 jmp [A0] 00000BBE 5052 addq.w [A2], 8 00000BC0 4556 chk.w D2, [A6] 00000BC2 4945 chk.w D4, D5 00000BC4 5750 subq.w [A0], 3 fn00000BC6: 00000BC6 4E56 FFDC link A6, -0x0024 00000BCA 48E7 0300 movem.l -[A7], D6,D7 00000BCE 7E0A moveq.l D7, 0x0A 00000BD0 426E FFEE clr.w [A6 - 0x12] 00000BD4 426E FFE2 clr.w [A6 - 0x1E] label00000BD8: 00000BD8 7C13 moveq.l D6, 0x13 00000BDA 426E FFEC clr.w [A6 - 0x14] 00000BDE 426E FFE0 clr.w [A6 - 0x20] label00000BE2: 00000BE2 302E FFEE move.w D0, [A6 - 0x12] 00000BE6 3200 move.w D1, D0 00000BE8 5441 addq.w D1, 2 00000BEA 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00000BF0 0032 322E FFEC ori.b <>, 0x2E /* '.' */ 00000BF6 3401 move.w D2, D1 00000BF8 5442 addq.w D2, 2 00000BFA 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00000C00 D041 add.w D0, D1 00000C02 0640 FAD2 addi.w D0, 0xFAD2 00000C06 4275 0000 clr.w [A5 + D0.w] 00000C0A 302E FFEC move.w D0, [A6 - 0x14] 00000C0E B06E FFE0 cmp.w D0, [A6 - 0x20] 00000C12 6702 beq +0x4 /* 00000C16 */ 00000C14 4E46 trap 6 label00000C16: 00000C16 526E FFE0 addq.w [A6 - 0x20], 1 00000C1A 526E FFEC addq.w [A6 - 0x14], 1 00000C1E 51CE FFC2 dbf D6, -0x40 /* 00000BE2 */ 00000C22 302E FFEE move.w D0, [A6 - 0x12] 00000C26 3200 move.w D1, D0 00000C28 5441 addq.w D1, 2 00000C2A 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00000C30 0032 0640 FAFA ori.b [A2 + A7 * 2 - 0x6], 0x40 /* '@' */ 00000C36 3BBC 0001 0000 move.w [A5 + D0.w], 0x1 00000C3C 302E FFEE move.w D0, [A6 - 0x12] 00000C40 B06E FFE2 cmp.w D0, [A6 - 0x1E] 00000C44 6702 beq +0x4 /* 00000C48 */ 00000C46 4E46 trap 6 label00000C48: 00000C48 526E FFE2 addq.w [A6 - 0x1E], 1 00000C4C 526E FFEE addq.w [A6 - 0x12], 1 00000C50 51CF FF86 dbf D7, -0x7C /* 00000BD8 */ 00000C54 7E13 moveq.l D7, 0x13 00000C56 426E FFEE clr.w [A6 - 0x12] 00000C5A 426E FFE2 clr.w [A6 - 0x1E] label00000C5E: 00000C5E 302E FFEE move.w D0, [A6 - 0x12] 00000C62 3200 move.w D1, D0 00000C64 5441 addq.w D1, 2 00000C66 43BC 0018 E340 .invalid 1, 0x18E340 // invalid opcode 4 with b == 6 00000C6C 0640 FAD2 addi.w D0, 0xFAD2 00000C70 3BBC 0001 0000 move.w [A5 + D0.w], 0x1 00000C76 302E FFEE move.w D0, [A6 - 0x12] 00000C7A 3200 move.w D1, D0 00000C7C 5441 addq.w D1, 2 00000C7E 43BC 0018 E340 .invalid 1, 0x18E340 // invalid opcode 4 with b == 6 00000C84 0640 FCC6 addi.w D0, 0xFCC6 00000C88 3BBC 0001 0000 move.w [A5 + D0.w], 0x1 00000C8E 302E FFEE move.w D0, [A6 - 0x12] 00000C92 B06E FFE2 cmp.w D0, [A6 - 0x1E] 00000C96 6702 beq +0x4 /* 00000C9A */ 00000C98 4E46 trap 6 label00000C9A: 00000C9A 526E FFE2 addq.w [A6 - 0x1E], 1 00000C9E 526E FFEE addq.w [A6 - 0x12], 1 00000CA2 51CF FFBA dbf D7, -0x48 /* 00000C5E */ 00000CA6 486E FFE4 pea.l [A6 - 0x1C] 00000CAA 3F3C 0072 move.w -[A7], 0x72 /* 'r' */ 00000CAE 4267 clr.w -[A7] 00000CB0 700A moveq.l D0, 0x0A 00000CB2 C1FC 000F muls.w D0, 0xF 00000CB6 81FC 0001 divs.w D0, 0x1 00000CBA 4E76 trapv 00000CBC 0640 0064 addi.w D0, 0x64 /* 'd' */ 00000CC0 4E76 trapv 00000CC2 5240 addq.w D0, 1 00000CC4 4E76 trapv 00000CC6 5340 subq.w D0, 1 00000CC8 4E76 trapv 00000CCA 5240 addq.w D0, 1 00000CCC 3F00 move.w -[A7], D0 00000CCE 7014 moveq.l D0, 0x14 00000CD0 C1FC 000F muls.w D0, 0xF 00000CD4 81FC 0001 divs.w D0, 0x1 00000CD8 4E76 trapv 00000CDA 5340 subq.w D0, 1 00000CDC 4E76 trapv 00000CDE 5240 addq.w D0, 1 00000CE0 3F00 move.w -[A7], D0 00000CE2 A8A7 syscall SetRect 00000CE4 486E FFE4 pea.l [A6 - 0x1C] 00000CE8 A8A3 syscall EraseRect 00000CEA 426D F87C clr.w [A5 - 0x784] 00000CEE 486E FFE4 pea.l [A6 - 0x1C] 00000CF2 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000CF6 3F3C 005C move.w -[A7], 0x5C /* '\\' */ 00000CFA 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00000CFE 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00000D02 A8A7 syscall SetRect 00000D04 486E FFE4 pea.l [A6 - 0x1C] 00000D08 A8A3 syscall EraseRect 00000D0A 3F3C 000B move.w -[A7], 0xB 00000D0E 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00000D12 A893 syscall MoveTo 00000D14 487A 0014 pea.l [PC + 0x14 /* 00000D2A, value 0x1304E56 */] 00000D18 A884 syscall DrawString 00000D1A 4CDF 00C0 movem.l D6,D7, [A7]+ 00000D1E 4E5E unlink A6 00000D20 4E75 rts 00000D22 434C chk.w D1, A4 00000D24 4541 chk.w D2, D1 00000D26 5242 addq.w D2, 1 00000D28 4F41 chk.w D7, D1 00000D2A 0130 4E56 btst [A0 + D4 * 8 + 0x56], D0 // begin alternate branch 00000D2C-00000D30 fn00000D2C: 00000D2C 4E56 FFDC link A6, -0x0024 // end alternate branch 00000D2C-00000D30 fn00000D2C: // (misaligned) 00000D2E FFDC .invalid <> 00000D30 4E71 nop 00000D32 4E71 nop 00000D34 2F2D F9CA move.l -[A7], [A5 - 0x636] 00000D38 A873 syscall SetPort 00000D3A 1D7C 0001 FFE2 move.b [A6 - 0x1E], 0x1 00000D40 7000 moveq.l D0, 0x00 00000D42 102E FFE2 move.b D0, [A6 - 0x1E] 00000D46 3F00 move.w -[A7], D0 00000D48 A888 syscall TextFace 00000D4A 3F3C 0001 move.w -[A7], 0x1 00000D4E A887 syscall TextFont 00000D50 3F3C 000E move.w -[A7], 0xE 00000D54 A88A syscall TextSize 00000D56 486E FFE8 pea.l [A6 - 0x18] 00000D5A 3F3C 0113 move.w -[A7], 0x113 00000D5E 3F3C 001E move.w -[A7], 0x1E 00000D62 3F3C 01A9 move.w -[A7], 0x1A9 00000D66 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 00000D6A A8A7 syscall SetRect 00000D6C 594F subq.w A7, 4 00000D6E 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */ 00000D74 3F3C 02B2 move.w -[A7], 0x2B2 00000D78 A9A0 syscall GetResource 00000D7A 2D5F FFE4 move.l [A6 - 0x1C], [A7]+ 00000D7E 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000D82 486E FFE8 pea.l [A6 - 0x18] 00000D86 A8F6 syscall DrawPicture 00000D88 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00000D8C A9A3 syscall ReleaseResource 00000D8E 3F3C 0113 move.w -[A7], 0x113 00000D92 3F3C 008C move.w -[A7], 0x8C 00000D96 A893 syscall MoveTo 00000D98 487A 0252 pea.l [PC + 0x252 /* 00000FEC, value 0x18A92031 */] 00000D9C A884 syscall DrawString 00000D9E 3F3C 000C move.w -[A7], 0xC 00000DA2 A88A syscall TextSize 00000DA4 3F3C 0113 move.w -[A7], 0x113 00000DA8 3F3C 00A0 move.w -[A7], 0xA0 00000DAC A893 syscall MoveTo 00000DAE 487A 0230 pea.l [PC + 0x230 /* 00000FE0, value 0xB566572, pstring "Version 1.1" */] 00000DB2 A884 syscall DrawString 00000DB4 3F3C 0109 move.w -[A7], 0x109 00000DB8 3F3C 00B4 move.w -[A7], 0xB4 00000DBC A893 syscall MoveTo 00000DBE 487A 0200 pea.l [PC + 0x200 /* 00000FC0, value 0x1E546869, pstring "This game is shareware. If you" */] 00000DC2 A884 syscall DrawString 00000DC4 3F3C 0109 move.w -[A7], 0x109 00000DC8 3F3C 00C3 move.w -[A7], 0xC3 00000DCC A893 syscall MoveTo 00000DCE 487A 01CE pea.l [PC + 0x1CE /* 00000F9E, value 0x21636F6E '!con', pstring "continue to use it beyond the one" */] 00000DD2 A884 syscall DrawString 00000DD4 3F3C 0109 move.w -[A7], 0x109 00000DD8 3F3C 00D2 move.w -[A7], 0xD2 00000DDC A893 syscall MoveTo 00000DDE 487A 01A0 pea.l [PC + 0x1A0 /* 00000F80, value 0x1C776565, pstring "week evaluation period, you " */] 00000DE2 A884 syscall DrawString 00000DE4 3F3C 0109 move.w -[A7], 0x109 00000DE8 3F3C 00E1 move.w -[A7], 0xE1 00000DEC A893 syscall MoveTo 00000DEE 487A 0170 pea.l [PC + 0x170 /* 00000F60, value 0x1F6D7573, pstring "must register by sending $10 to" */] 00000DF2 A884 syscall DrawString 00000DF4 3F3C 0113 move.w -[A7], 0x113 00000DF8 3F3C 00F0 move.w -[A7], 0xF0 00000DFC A893 syscall MoveTo 00000DFE 487A 0154 pea.l [PC + 0x154 /* 00000F54, value 0xB4B6576, pstring "Kevin Vigor" */] 00000E02 A884 syscall DrawString 00000E04 3F3C 0113 move.w -[A7], 0x113 00000E08 3F3C 00FF move.w -[A7], 0xFF 00000E0C A893 syscall MoveTo 00000E0E 487A 012C pea.l [PC + 0x12C /* 00000F3C, value 0x16313239, pstring "129 South 700 East # 4" */] 00000E12 A884 syscall DrawString 00000E14 3F3C 0113 move.w -[A7], 0x113 00000E18 3F3C 010E move.w -[A7], 0x10E 00000E1C A893 syscall MoveTo 00000E1E 487A 0100 pea.l [PC + 0x100 /* 00000F20, value 0x1B53616C, pstring "Salt Lake City, Utah, 84102" */] 00000E22 A884 syscall DrawString 00000E24 3F3C 0003 move.w -[A7], 0x3 00000E28 3F3C 0003 move.w -[A7], 0x3 00000E2C A89B syscall PenSize 00000E2E 3F3C 006F move.w -[A7], 0x6F /* 'o' */ 00000E32 3F3C 0002 move.w -[A7], 0x2 00000E36 A893 syscall MoveTo 00000E38 4267 clr.w -[A7] 00000E3A 7014 moveq.l D0, 0x14 00000E3C C1FC 000F muls.w D0, 0xF 00000E40 81FC 0001 divs.w D0, 0x1 00000E44 4E76 trapv 00000E46 5540 subq.w D0, 2 00000E48 4E76 trapv 00000E4A 5340 subq.w D0, 1 00000E4C 4E76 trapv 00000E4E 5240 addq.w D0, 1 00000E50 3F00 move.w -[A7], D0 00000E52 A892 syscall Line 00000E54 700A moveq.l D0, 0x0A 00000E56 C1FC 000F muls.w D0, 0xF 00000E5A 81FC 0001 divs.w D0, 0x1 00000E5E 4E76 trapv 00000E60 0640 FFF6 addi.w D0, 0xFFF6 00000E64 4E76 trapv 00000E66 5340 subq.w D0, 1 00000E68 4E76 trapv 00000E6A 5240 addq.w D0, 1 00000E6C 3F00 move.w -[A7], D0 00000E6E 4267 clr.w -[A7] 00000E70 A892 syscall Line 00000E72 4267 clr.w -[A7] 00000E74 7014 moveq.l D0, 0x14 00000E76 C1FC 000F muls.w D0, 0xF 00000E7A 81FC 0001 divs.w D0, 0x1 00000E7E 4E76 trapv 00000E80 5540 subq.w D0, 2 00000E82 4E76 trapv 00000E84 4440 neg.w D0 00000E86 5340 subq.w D0, 1 00000E88 4E76 trapv 00000E8A 5240 addq.w D0, 1 00000E8C 3F00 move.w -[A7], D0 00000E8E A892 syscall Line 00000E90 3F3C 000B move.w -[A7], 0xB 00000E94 3F3C 0031 move.w -[A7], 0x31 /* '1' */ 00000E98 A893 syscall MoveTo 00000E9A 487A 007C pea.l [PC + 0x7C /* 00000F18, value 0x653636F, pstring "Score:" */] 00000E9E A884 syscall DrawString 00000EA0 3F3C 000B move.w -[A7], 0xB 00000EA4 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00000EA8 A893 syscall MoveTo 00000EAA 487A 0066 pea.l [PC + 0x66 /* 00000F12, value 0x5526F77, pstring "Rows:" */] 00000EAE A884 syscall DrawString 00000EB0 3F3C 000B move.w -[A7], 0xB 00000EB4 3F3C 0082 move.w -[A7], 0x82 00000EB8 A893 syscall MoveTo 00000EBA 487A 0048 pea.l [PC + 0x48 /* 00000F04, value 0xC526F77, pstring "Rows needed:" */] 00000EBE A884 syscall DrawString 00000EC0 3F3C 000B move.w -[A7], 0xB 00000EC4 3F3C 00B4 move.w -[A7], 0xB4 00000EC8 A893 syscall MoveTo 00000ECA 487A 002C pea.l [PC + 0x2C /* 00000EF8, value 0xB4E6578, pstring "Next Piece:" */] 00000ECE A884 syscall DrawString 00000ED0 486E FFE8 pea.l [A6 - 0x18] 00000ED4 3F3C 0005 move.w -[A7], 0x5 00000ED8 3F3C 00C3 move.w -[A7], 0xC3 00000EDC 3F3C 0060 move.w -[A7], 0x60 /* '`' */ 00000EE0 3F3C 0113 move.w -[A7], 0x113 00000EE4 A8A7 syscall SetRect 00000EE6 486E FFE8 pea.l [A6 - 0x18] 00000EEA A8A1 syscall FrameRect 00000EEC 4E5E unlink A6 00000EEE 4E75 rts 00000EF0 4452 neg.w [A2] 00000EF2 4157 chk.w D0, [A7] 00000EF4 434F chk.w D1, A7 00000EF6 4E54 0B4E link A4, -0xFFFFF4B2 00000EFA 6578 bcs +0x7A /* 00000F74 */ 00000EFC 7420 moveq.l D2, 0x20 00000EFE 5069 6563 addq.w [A1 + 0x6563], 8 00000F02 653A bcs +0x3C /* 00000F3E */ 00000F04 0C52 6F77 cmpi.w [A2], 0x6F77 /* 'ow' */ 00000F08 7320 moveq.l D1, 0x20 00000F0A 6E65 bgt +0x67 /* 00000F71 */ 00000F0C 6564 bcs +0x66 /* 00000F72 */ 00000F0E 6564 bcs +0x66 /* 00000F74 */ 00000F10 3A16 move.w D5, [A6] 00000F12 0552 bchg [A2], D2 00000F14 6F77 ble +0x79 /* 00000F8D */ 00000F16 733A moveq.l D1, 0x3A 00000F18 0653 636F addi.w [A3], 0x636F /* 'co' */ 00000F1C 7265 moveq.l D1, 0x65 00000F1E 3A16 move.w D5, [A6] 00000F20 1B53 616C move.b [A5 + 0x616C], [A3] 00000F24 7420 moveq.l D2, 0x20 00000F26 4C61 6B65 movem.l D1,D2,D4,D6,D7,A1,A2,A5,A7, -[A1] 00000F2A 2043 movea.l A0, D3 00000F2C 6974 bvs +0x76 /* 00000FA2 */ 00000F2E 792C moveq.l D4, 0x2C 00000F30 2055 movea.l A0, [A5] 00000F32 7461 moveq.l D2, 0x61 00000F34 682C bvc +0x2E /* 00000F62 */ 00000F36 2038 3431 move.l D0, [0x00003431] 00000F3A 3032 1631 move.w D0, [A2 + D1.w * 8 + 0x31] label00000F3E: 00000F3E 3239 2053 6F75 move.w D1, [0x20536F75] 00000F44 7468 moveq.l D2, 0x68 00000F46 2037 3030 move.l D0, [A7 + D3.w + 0x30] 00000F4A 2045 movea.l A0, D5 00000F4C 6173 bsr +0x75 /* 00000FC1 */ 00000F4E 7420 moveq.l D2, 0x20 00000F50 2320 move.l -[A1], -[A0] 00000F52 3416 move.w D2, [A6] 00000F54 0B4B bchg A3, D5 00000F56 6576 bcs +0x78 /* 00000FCE */ 00000F58 696E bvs +0x70 /* 00000FC8 */ 00000F5A 2056 movea.l A0, [A6] 00000F5C 6967 bvs +0x69 /* 00000FC5 */ 00000F5E 6F72 ble +0x74 /* 00000FD2 */ 00000F60 1F6D 7573 7420 move.b [A7 + 0x7420], [A5 + 0x7573] // begin alternate branch 00000F62-00000F66 label00000F62: 00000F62 7573 moveq.l D2, 0x73 00000F64 7420 moveq.l D2, 0x20 // end alternate branch 00000F62-00000F66 label00000F62: // (misaligned) 00000F66 7265 moveq.l D1, 0x65 00000F68 6769 beq +0x6B /* 00000FD3 */ 00000F6A 7374 moveq.l D1, 0x74 00000F6C 6572 bcs +0x74 /* 00000FE0 */ 00000F6E 2062 movea.l A0, -[A2] 00000F70 7920 moveq.l D4, 0x20 label00000F72: 00000F72 7365 moveq.l D1, 0x65 label00000F74: 00000F74 6E64 bgt +0x66 /* 00000FDA */ 00000F76 696E bvs +0x70 /* 00000FE6 */ 00000F78 6720 beq +0x22 /* 00000F9A */ 00000F7A 2431 3020 move.l D2, [A1 + D3.w + 0x20] 00000F7E 746F moveq.l D2, 0x6F 00000F80 1C77 6565 movea.b A6, <> 00000F84 6B20 bmi +0x22 /* 00000FA6 */ 00000F86 6576 bcs +0x78 /* 00000FFE */ 00000F88 616C bsr +0x6E /* 00000FF6 */ 00000F8A 7561 moveq.l D2, 0x61 00000F8C 7469 moveq.l D2, 0x69 00000F8E 6F6E ble +0x70 /* 00000FFE */ 00000F90 2070 6572 696F 642C 2079 movea.l A0, [[A0 + 0x696F642C] + 0x2079] label00000F9A: 00000F9A 6F75 ble +0x77 /* 00001011 */ 00000F9C 2016 move.l D0, [A6] 00000F9E 2163 6F6E move.l [A0 + 0x6F6E], -[A3] label00000FA2: 00000FA2 7469 moveq.l D2, 0x69 00000FA4 6E75 bgt +0x77 /* 0000101B */ label00000FA6: 00000FA6 6520 bcs +0x22 /* 00000FC8 */ 00000FA8 746F moveq.l D2, 0x6F 00000FAA 2075 7365 movea.l A0, <> 00000FAE 2069 7420 movea.l A0, [A1 + 0x7420] 00000FB2 6265 bhi +0x67 /* 00001019 */ 00000FB4 796F moveq.l D4, 0x6F 00000FB6 6E64 bgt +0x66 /* 0000101C */ 00000FB8 2074 6865 movea.l A0, [A4 + D6 + 0x65] 00000FBC 206F 6E65 movea.l A0, [A7 + 0x6E65] 00000FC0 1E54 movea.b A7, [A4] 00000FC2 6869 bvc +0x6B /* 0000102D */ 00000FC4 7320 moveq.l D1, 0x20 00000FC6 6761 beq +0x63 /* 00001029 */ label00000FC8: 00000FC8 6D65 blt +0x67 /* 0000102F */ 00000FCA 2069 7320 movea.l A0, [A1 + 0x7320] label00000FCE: 00000FCE 7368 moveq.l D1, 0x68 00000FD0 6172 bsr +0x74 /* 00001044 */ label00000FD2: 00000FD2 6577 bcs +0x79 /* 0000104B */ 00000FD4 6172 bsr +0x74 /* 00001048 */ 00000FD6 652E bcs +0x30 /* 00001006 */ 00000FD8 2049 movea.l A0, A1 label00000FDA: 00000FDA 6620 bne +0x22 /* 00000FFC */ 00000FDC 796F moveq.l D4, 0x6F 00000FDE 7516 moveq.l D2, 0x16 label00000FE0: 00000FE0 0B56 bchg [A6], D5 00000FE2 6572 bcs +0x74 /* 00001056 */ 00000FE4 7369 moveq.l D1, 0x69 label00000FE6: 00000FE6 6F6E ble +0x70 /* 00001056 */ 00000FE8 2031 2E31 move.l D0, [A1 + D2 * 8 + 0x31] 00000FEC 18A9 2031 move.b [A4], [A1 + 0x2031] 00000FF0 3939 3020 5456 move.w -[A4], [0x30205456] fn00000FF6: 00000FF6 6172 bsr +0x74 /* 0000106A */ 00000FF8 6B20 bmi +0x22 /* 0000101A */ 00000FFA 5072 6F64 addq.w <>, 8 // begin alternate branch 00000FFC-00000FFE label00000FFC: 00000FFC 6F64 ble +0x66 /* 00001062 */ // end alternate branch 00000FFC-00000FFE label00000FFC: // (misaligned) label00000FFE: 00000FFE 7563 moveq.l D2, 0x63 00001000 7469 moveq.l D2, 0x69 00001002 6F6E ble +0x70 /* 00001072 */ 00001004 7316 moveq.l D1, 0x16 fn00001006: 00001006 4E56 FFD4 link A6, -0x002C 0000100A 4E71 nop 0000100C 4E71 nop 0000100E 41ED FE22 lea.l A0, [A5 - 0x1DE] 00001012 2F08 move.l -[A7], A0 00001014 A86E syscall InitGraf 00001016 A850 syscall InitCursor 00001018 A8FE syscall InitFonts label0000101A: 0000101A A912 syscall InitWindows label0000101C: 0000101C A930 syscall InitMenus 0000101E A9CC syscall TEInit 00001020 486E FFE8 pea.l [A6 - 0x18] 00001024 4EAD 005A jsr [A5 + 0x5A /* export_7 */] 00001028 2B6E FFE8 FDA4 move.l [A5 - 0x25C], [A6 - 0x18] 0000102E 554F subq.w A7, 2 00001030 A861 syscall Random 00001032 7007 moveq.l D0, 0x07 00001034 321F move.w D1, [A7]+ 00001036 48C1 ext.l D1 00001038 83C0 divs.w D1, D0 0000103A 4841 swap.w D1 0000103C 4A41 tst.w D1 0000103E 6A02 bpl +0x4 /* 00001042 */ 00001040 D240 add.w D1, D0 label00001042: 00001042 4A41 tst.w D1 fn00001044: 00001044 6A02 bpl +0x4 /* 00001048 */ 00001046 4441 neg.w D1 fn00001048: 00001048 5341 subq.w D1, 1 0000104A 4E76 trapv 0000104C 5241 addq.w D1, 1 0000104E 3B41 F89A move.w [A5 - 0x766], D1 00001052 486D F834 pea.l [A5 - 0x7CC] label00001056: 00001056 4EBA F7C0 jsr [PC - 0x840 /* 00000818 */] 0000105A 594F subq.w A7, 4 0000105C 7018 moveq.l D0, 0x18 0000105E 2F00 move.l -[A7], D0 00001060 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] // begin alternate branch 00001062-00001068 label00001062: 00001062 0072 2D5F FFE4 ori.w <>, 0x2D5F /* '-_' */ // end alternate branch 00001062-00001068 label00001062: // (misaligned) 00001064 2D5F FFE4 move.l [A6 - 0x1C], [A7]+ 00001068 2F2E FFE4 move.l -[A7], [A6 - 0x1C] // begin alternate branch 0000106A-0000106C fn0000106A: 0000106A FFE4 .invalid <> // end alternate branch 0000106A-0000106C fn0000106A: // (misaligned) 0000106C 4EAD 007A jsr [A5 + 0x7A /* export_11 */] 00001070 206E FFE4 movea.l A0, [A6 - 0x1C] // begin alternate branch 00001072-00001074 label00001072: 00001072 FFE4 .invalid <> // end alternate branch 00001072-00001074 label00001072: // (misaligned) 00001074 2008 move.l D0, A0 00001076 6602 bne +0x4 /* 0000107A */ 00001078 4E40 trap 0 label0000107A: 0000107A 2D50 FFD4 move.l [A6 - 0x2C], [A0] 0000107E 2B6E FFD4 F830 move.l [A5 - 0x7D0], [A6 - 0x2C] 00001084 206D F830 movea.l A0, [A5 - 0x7D0] 00001088 2008 move.l D0, A0 0000108A 6602 bne +0x4 /* 0000108E */ 0000108C 4E40 trap 0 label0000108E: 0000108E 30BC FFFF move.w [A0], 0xFFFF 00001092 206D F830 movea.l A0, [A5 - 0x7D0] 00001096 2008 move.l D0, A0 00001098 6602 bne +0x4 /* 0000109C */ 0000109A 4E40 trap 0 label0000109C: 0000109C 317C 0FA0 0002 move.w [A0 + 0x2], 0xFA0 000010A2 206D F830 movea.l A0, [A5 - 0x7D0] 000010A6 2008 move.l D0, A0 000010A8 6602 bne +0x4 /* 000010AC */ 000010AA 4E40 trap 0 label000010AC: 000010AC 317C 0064 0004 move.w [A0 + 0x4], 0x64 /* 'd' */ 000010B2 206D F830 movea.l A0, [A5 - 0x7D0] 000010B6 2008 move.l D0, A0 000010B8 6602 bne +0x4 /* 000010BC */ 000010BA 4E40 trap 0 label000010BC: 000010BC 317C 0001 0006 move.w [A0 + 0x6], 0x1 000010C2 206D F830 movea.l A0, [A5 - 0x7D0] 000010C6 2008 move.l D0, A0 000010C8 6602 bne +0x4 /* 000010CC */ 000010CA 4E40 trap 0 label000010CC: 000010CC 4268 0008 clr.w [A0 + 0x8] 000010D0 206D F830 movea.l A0, [A5 - 0x7D0] 000010D4 2008 move.l D0, A0 000010D6 6602 bne +0x4 /* 000010DA */ 000010D8 4E40 trap 0 label000010DA: 000010DA 4268 000A clr.w [A0 + 0xA] 000010DE 206D F830 movea.l A0, [A5 - 0x7D0] 000010E2 2008 move.l D0, A0 000010E4 6602 bne +0x4 /* 000010E8 */ 000010E6 4E40 trap 0 label000010E8: 000010E8 4268 000C clr.w [A0 + 0xC] 000010EC 594F subq.w A7, 4 000010EE 7024 moveq.l D0, 0x24 000010F0 2F00 move.l -[A7], D0 000010F2 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] 000010F6 2D5F FFE0 move.l [A6 - 0x20], [A7]+ 000010FA 2F2E FFE0 move.l -[A7], [A6 - 0x20] 000010FE 4EAD 007A jsr [A5 + 0x7A /* export_11 */] 00001102 206E FFE0 movea.l A0, [A6 - 0x20] 00001106 2008 move.l D0, A0 00001108 6602 bne +0x4 /* 0000110C */ 0000110A 4E40 trap 0 label0000110C: 0000110C 2D50 FFD4 move.l [A6 - 0x2C], [A0] 00001110 2B6E FFD4 F82C move.l [A5 - 0x7D4], [A6 - 0x2C] 00001116 206D F82C movea.l A0, [A5 - 0x7D4] 0000111A 2008 move.l D0, A0 0000111C 6602 bne +0x4 /* 00001120 */ 0000111E 4E40 trap 0 label00001120: 00001120 30BC FFFF move.w [A0], 0xFFFF 00001124 206D F82C movea.l A0, [A5 - 0x7D4] 00001128 2008 move.l D0, A0 0000112A 6602 bne +0x4 /* 0000112E */ 0000112C 4E40 trap 0 label0000112E: 0000112E 317C 0BB2 0002 move.w [A0 + 0x2], 0xBB2 00001134 206D F82C movea.l A0, [A5 - 0x7D4] 00001138 2008 move.l D0, A0 0000113A 6602 bne +0x4 /* 0000113E */ 0000113C 4E40 trap 0 label0000113E: 0000113E 317C 00C8 0004 move.w [A0 + 0x4], 0xC8 00001144 206D F82C movea.l A0, [A5 - 0x7D4] 00001148 2008 move.l D0, A0 0000114A 6602 bne +0x4 /* 0000114E */ 0000114C 4E40 trap 0 label0000114E: 0000114E 317C 0007 0006 move.w [A0 + 0x6], 0x7 00001154 206D F82C movea.l A0, [A5 - 0x7D4] 00001158 2008 move.l D0, A0 0000115A 6602 bne +0x4 /* 0000115E */ 0000115C 4E40 trap 0 label0000115E: 0000115E 4268 0008 clr.w [A0 + 0x8] 00001162 206D F82C movea.l A0, [A5 - 0x7D4] 00001166 2008 move.l D0, A0 00001168 6602 bne +0x4 /* 0000116C */ 0000116A 4E40 trap 0 label0000116C: 0000116C 4268 000A clr.w [A0 + 0xA] 00001170 206D F82C movea.l A0, [A5 - 0x7D4] 00001174 2008 move.l D0, A0 00001176 6602 bne +0x4 /* 0000117A */ 00001178 4E40 trap 0 label0000117A: 0000117A 317C 0001 000C move.w [A0 + 0xC], 0x1 00001180 206D F82C movea.l A0, [A5 - 0x7D4] 00001184 2008 move.l D0, A0 00001186 6602 bne +0x4 /* 0000118A */ 00001188 4E40 trap 0 label0000118A: 0000118A 317C 0BB2 000E move.w [A0 + 0xE], 0xBB2 00001190 206D F82C movea.l A0, [A5 - 0x7D4] 00001194 2008 move.l D0, A0 00001196 6602 bne +0x4 /* 0000119A */ 00001198 4E40 trap 0 label0000119A: 0000119A 317C 00C8 0010 move.w [A0 + 0x10], 0xC8 000011A0 206D F82C movea.l A0, [A5 - 0x7D4] 000011A4 2008 move.l D0, A0 000011A6 6602 bne +0x4 /* 000011AA */ 000011A8 4E40 trap 0 label000011AA: 000011AA 317C 0007 0012 move.w [A0 + 0x12], 0x7 000011B0 206D F82C movea.l A0, [A5 - 0x7D4] 000011B4 2008 move.l D0, A0 000011B6 6602 bne +0x4 /* 000011BA */ 000011B8 4E40 trap 0 label000011BA: 000011BA 317C 0949 0014 move.w [A0 + 0x14], 0x949 /* '\tI' */ 000011C0 206D F82C movea.l A0, [A5 - 0x7D4] 000011C4 2008 move.l D0, A0 000011C6 6602 bne +0x4 /* 000011CA */ 000011C8 4E40 trap 0 label000011CA: 000011CA 317C 00C8 0016 move.w [A0 + 0x16], 0xC8 000011D0 206D F82C movea.l A0, [A5 - 0x7D4] 000011D4 2008 move.l D0, A0 000011D6 6602 bne +0x4 /* 000011DA */ 000011D8 4E40 trap 0 label000011DA: 000011DA 317C 000A 0018 move.w [A0 + 0x18], 0xA /* '\n' */ 000011E0 206D F82C movea.l A0, [A5 - 0x7D4] 000011E4 2008 move.l D0, A0 000011E6 6602 bne +0x4 /* 000011EA */ 000011E8 4E40 trap 0 label000011EA: 000011EA 4268 001A clr.w [A0 + 0x1A] 000011EE 206D F82C movea.l A0, [A5 - 0x7D4] 000011F2 2008 move.l D0, A0 000011F4 6602 bne +0x4 /* 000011F8 */ 000011F6 4E40 trap 0 label000011F8: 000011F8 4268 001C clr.w [A0 + 0x1C] 000011FC 206D F82C movea.l A0, [A5 - 0x7D4] 00001200 2008 move.l D0, A0 00001202 6602 bne +0x4 /* 00001206 */ 00001204 4E40 trap 0 label00001206: 00001206 4268 001E clr.w [A0 + 0x1E] 0000120A 594F subq.w A7, 4 0000120C 7024 moveq.l D0, 0x24 0000120E 2F00 move.l -[A7], D0 00001210 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] 00001214 2D5F FFDC move.l [A6 - 0x24], [A7]+ 00001218 2F2E FFDC move.l -[A7], [A6 - 0x24] 0000121C 4EAD 007A jsr [A5 + 0x7A /* export_11 */] 00001220 206E FFDC movea.l A0, [A6 - 0x24] 00001224 2008 move.l D0, A0 00001226 6602 bne +0x4 /* 0000122A */ 00001228 4E40 trap 0 label0000122A: 0000122A 2D50 FFD4 move.l [A6 - 0x2C], [A0] 0000122E 2B6E FFD4 F828 move.l [A5 - 0x7D8], [A6 - 0x2C] 00001234 206D F828 movea.l A0, [A5 - 0x7D8] 00001238 2008 move.l D0, A0 0000123A 6602 bne +0x4 /* 0000123E */ 0000123C 4E40 trap 0 label0000123E: 0000123E 30BC FFFF move.w [A0], 0xFFFF 00001242 206D F828 movea.l A0, [A5 - 0x7D8] 00001246 2008 move.l D0, A0 00001248 6602 bne +0x4 /* 0000124C */ 0000124A 4E40 trap 0 label0000124C: 0000124C 317C 0BB2 0002 move.w [A0 + 0x2], 0xBB2 00001252 206D F828 movea.l A0, [A5 - 0x7D8] 00001256 2008 move.l D0, A0 00001258 6602 bne +0x4 /* 0000125C */ 0000125A 4E40 trap 0 label0000125C: 0000125C 317C 0064 0004 move.w [A0 + 0x4], 0x64 /* 'd' */ 00001262 206D F828 movea.l A0, [A5 - 0x7D8] 00001266 2008 move.l D0, A0 00001268 6602 bne +0x4 /* 0000126C */ 0000126A 4E40 trap 0 label0000126C: 0000126C 317C 0003 0006 move.w [A0 + 0x6], 0x3 00001272 206D F828 movea.l A0, [A5 - 0x7D8] 00001276 2008 move.l D0, A0 00001278 6602 bne +0x4 /* 0000127C */ 0000127A 4E40 trap 0 label0000127C: 0000127C 317C 0C1C 0008 move.w [A0 + 0x8], 0xC1C 00001282 206D F828 movea.l A0, [A5 - 0x7D8] 00001286 2008 move.l D0, A0 00001288 6602 bne +0x4 /* 0000128C */ 0000128A 4E40 trap 0 label0000128C: 0000128C 317C 0064 000A move.w [A0 + 0xA], 0x64 /* 'd' */ 00001292 206D F828 movea.l A0, [A5 - 0x7D8] 00001296 2008 move.l D0, A0 00001298 6602 bne +0x4 /* 0000129C */ 0000129A 4E40 trap 0 label0000129C: 0000129C 317C 0003 000C move.w [A0 + 0xC], 0x3 000012A2 206D F828 movea.l A0, [A5 - 0x7D8] 000012A6 2008 move.l D0, A0 000012A8 6602 bne +0x4 /* 000012AC */ 000012AA 4E40 trap 0 label000012AC: 000012AC 317C 0CE4 000E move.w [A0 + 0xE], 0xCE4 000012B2 206D F828 movea.l A0, [A5 - 0x7D8] 000012B6 2008 move.l D0, A0 000012B8 6602 bne +0x4 /* 000012BC */ 000012BA 4E40 trap 0 label000012BC: 000012BC 317C 0064 0010 move.w [A0 + 0x10], 0x64 /* 'd' */ 000012C2 206D F828 movea.l A0, [A5 - 0x7D8] 000012C6 2008 move.l D0, A0 000012C8 6602 bne +0x4 /* 000012CC */ 000012CA 4E40 trap 0 label000012CC: 000012CC 317C 0003 0012 move.w [A0 + 0x12], 0x3 000012D2 206D F828 movea.l A0, [A5 - 0x7D8] 000012D6 2008 move.l D0, A0 000012D8 6602 bne +0x4 /* 000012DC */ 000012DA 4E40 trap 0 label000012DC: 000012DC 4268 0014 clr.w [A0 + 0x14] 000012E0 206D F828 movea.l A0, [A5 - 0x7D8] 000012E4 2008 move.l D0, A0 000012E6 6602 bne +0x4 /* 000012EA */ 000012E8 4E40 trap 0 label000012EA: 000012EA 4268 0016 clr.w [A0 + 0x16] 000012EE 206D F828 movea.l A0, [A5 - 0x7D8] 000012F2 2008 move.l D0, A0 000012F4 6602 bne +0x4 /* 000012F8 */ 000012F6 4E40 trap 0 label000012F8: 000012F8 4268 0018 clr.w [A0 + 0x18] 000012FC 594F subq.w A7, 4 000012FE 7024 moveq.l D0, 0x24 00001300 2F00 move.l -[A7], D0 00001302 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] 00001306 2D5F FFD8 move.l [A6 - 0x28], [A7]+ 0000130A 2F2E FFD8 move.l -[A7], [A6 - 0x28] 0000130E 4EAD 007A jsr [A5 + 0x7A /* export_11 */] 00001312 206E FFD8 movea.l A0, [A6 - 0x28] 00001316 2008 move.l D0, A0 00001318 6602 bne +0x4 /* 0000131C */ 0000131A 4E40 trap 0 label0000131C: 0000131C 2D50 FFD4 move.l [A6 - 0x2C], [A0] 00001320 2B6E FFD4 F824 move.l [A5 - 0x7DC], [A6 - 0x2C] 00001326 206D F824 movea.l A0, [A5 - 0x7DC] 0000132A 2008 move.l D0, A0 0000132C 6602 bne +0x4 /* 00001330 */ 0000132E 4E40 trap 0 label00001330: 00001330 30BC FFFF move.w [A0], 0xFFFF 00001334 206D F824 movea.l A0, [A5 - 0x7DC] 00001338 2008 move.l D0, A0 0000133A 6602 bne +0x4 /* 0000133E */ 0000133C 4E40 trap 0 label0000133E: 0000133E 317C 1068 0002 move.w [A0 + 0x2], 0x1068 00001344 206D F824 movea.l A0, [A5 - 0x7DC] 00001348 2008 move.l D0, A0 0000134A 6602 bne +0x4 /* 0000134E */ 0000134C 4E40 trap 0 label0000134E: 0000134E 317C 0064 0004 move.w [A0 + 0x4], 0x64 /* 'd' */ 00001354 206D F824 movea.l A0, [A5 - 0x7DC] 00001358 2008 move.l D0, A0 0000135A 6602 bne +0x4 /* 0000135E */ 0000135C 4E40 trap 0 label0000135E: 0000135E 317C 000A 0006 move.w [A0 + 0x6], 0xA /* '\n' */ 00001364 206D F824 movea.l A0, [A5 - 0x7DC] 00001368 2008 move.l D0, A0 0000136A 6602 bne +0x4 /* 0000136E */ 0000136C 4E40 trap 0 label0000136E: 0000136E 4268 0008 clr.w [A0 + 0x8] 00001372 206D F824 movea.l A0, [A5 - 0x7DC] 00001376 2008 move.l D0, A0 00001378 6602 bne +0x4 /* 0000137C */ 0000137A 4E40 trap 0 label0000137C: 0000137C 4268 000A clr.w [A0 + 0xA] 00001380 206D F824 movea.l A0, [A5 - 0x7DC] 00001384 2008 move.l D0, A0 00001386 6602 bne +0x4 /* 0000138A */ 00001388 4E40 trap 0 label0000138A: 0000138A 4268 000C clr.w [A0 + 0xC] 0000138E 7005 moveq.l D0, 0x05 00001390 2B40 F894 move.l [A5 - 0x76C], D0 00001394 3B7C 0001 F89C move.w [A5 - 0x764], 0x1 0000139A 3B7C 0001 F898 move.w [A5 - 0x768], 0x1 000013A0 706A moveq.l D0, 0x6A 000013A2 2B40 F868 move.l [A5 - 0x798], D0 000013A6 706C moveq.l D0, 0x6C 000013A8 2B40 F864 move.l [A5 - 0x79C], D0 000013AC 706B moveq.l D0, 0x6B 000013AE 2B40 F860 move.l [A5 - 0x7A0], D0 000013B2 7020 moveq.l D0, 0x20 000013B4 2B40 F85C move.l [A5 - 0x7A4], D0 000013B8 4EBA F30E jsr [PC - 0xCF2 /* 000006C8 */] 000013BC 3F3C FFFF move.w -[A7], 0xFFFF 000013C0 4267 clr.w -[A7] 000013C2 4EAD 0062 jsr [A5 + 0x62 /* export_8 */] 000013C6 42AD F870 clr.l [A5 - 0x790] 000013CA 486D F9B6 pea.l [A5 - 0x64A] 000013CE 3F3C 0004 move.w -[A7], 0x4 000013D2 3F3C 0018 move.w -[A7], 0x18 000013D6 302D FDB4 move.w D0, [A5 - 0x24C] 000013DA 5940 subq.w D0, 4 000013DC 4E76 trapv 000013DE 5340 subq.w D0, 1 000013E0 4E76 trapv 000013E2 5240 addq.w D0, 1 000013E4 3F00 move.w -[A7], D0 000013E6 302D FDB2 move.w D0, [A5 - 0x24E] 000013EA 5340 subq.w D0, 1 000013EC 4E76 trapv 000013EE 5240 addq.w D0, 1 000013F0 3F00 move.w -[A7], D0 000013F2 A8A7 syscall SetRect 000013F4 486D F9BE pea.l [A5 - 0x642] 000013F8 3F3C 0005 move.w -[A7], 0x5 000013FC 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 00001400 302D FDB4 move.w D0, [A5 - 0x24C] 00001404 5740 subq.w D0, 3 00001406 4E76 trapv 00001408 5340 subq.w D0, 1 0000140A 4E76 trapv 0000140C 5240 addq.w D0, 1 0000140E 3F00 move.w -[A7], D0 00001410 302D FDB2 move.w D0, [A5 - 0x24E] 00001414 5740 subq.w D0, 3 00001416 4E76 trapv 00001418 5340 subq.w D0, 1 0000141A 4E76 trapv 0000141C 5240 addq.w D0, 1 0000141E 3F00 move.w -[A7], D0 00001420 A8A7 syscall SetRect 00001422 594F subq.w A7, 4 00001424 41ED F9CE lea.l A0, [A5 - 0x632] 00001428 2F08 move.l -[A7], A0 0000142A 486D F9BE pea.l [A5 - 0x642] 0000142E 487A 0026 pea.l [PC + 0x26 /* 00001456, value 0x74D6163, pstring "MacTris" */] 00001432 1F3C 0001 move.b -[A7], 0x1 00001436 4267 clr.w -[A7] 00001438 70FF moveq.l D0, 0xFFFFFFFF 0000143A 2F00 move.l -[A7], D0 0000143C 4227 clr.b -[A7] 0000143E 42A7 clr.l -[A7] 00001440 A913 syscall NewWindow 00001442 2B5F F9CA move.l [A5 - 0x636], [A7]+ 00001446 4EBA F8E4 jsr [PC - 0x71C /* 00000D2C */] 0000144A 4E5E unlink A6 0000144C 4E75 rts 0000144E 5345 subq.w D5, 1 00001450 5455 addq.w [A5], 2 00001452 5020 addq.b -[A0], 8 00001454 2020 move.l D0, -[A0] 00001456 074D bchg A5, D3 00001458 6163 bsr +0x65 /* 000014BD */ 0000145A 5472 6973 4E56 FFC4 48E7 0100 addq.w [[A2 + 0x4E56FFC4] + 0x48E70100], 2 // begin alternate branch 0000145E-00001466 fn0000145E: 0000145E 4E56 FFC4 link A6, -0x003C 00001462 48E7 0100 movem.l -[A7], D7 // end alternate branch 0000145E-00001466 fn0000145E: // (misaligned) 00001466 206E 000A movea.l A0, [A6 + 0xA] 0000146A 43EE FFDC lea.l A1, [A6 - 0x24] 0000146E 7004 moveq.l D0, 0x04 label00001470: 00001470 22D8 move.l [A1]+, [A0]+ 00001472 51C8 FFFC dbf D0, -0x6 /* 00001470 */ 00001476 302E FFEC move.w D0, [A6 - 0x14] 0000147A C1FC 000F muls.w D0, 0xF 0000147E 81FC 0001 divs.w D0, 0x1 00001482 4E76 trapv 00001484 0640 0064 addi.w D0, 0x64 /* 'd' */ 00001488 4E76 trapv 0000148A 5340 subq.w D0, 1 0000148C 4E76 trapv 0000148E 5240 addq.w D0, 1 00001490 3D40 FFDA move.w [A6 - 0x26], D0 00001494 302E FFEE move.w D0, [A6 - 0x12] 00001498 C1FC 000F muls.w D0, 0xF 0000149C 81FC 0001 divs.w D0, 0x1 000014A0 4E76 trapv 000014A2 5340 subq.w D0, 1 000014A4 4E76 trapv 000014A6 5240 addq.w D0, 1 000014A8 3D40 FFD8 move.w [A6 - 0x28], D0 000014AC 7E03 moveq.l D7, 0x03 000014AE 426E FFD6 clr.w [A6 - 0x2A] 000014B2 426E FFCC clr.w [A6 - 0x34] label000014B6: 000014B6 486E FFCE pea.l [A6 - 0x32] 000014BA 302E FFD6 move.w D0, [A6 - 0x2A] 000014BE 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 000014C4 3036 00DC move.w D0, [A6 + D0.w - 0x36] 000014C8 C1FC 000F muls.w D0, 0xF 000014CC 81FC 0001 divs.w D0, 0x1 000014D0 4E76 trapv 000014D2 D06E FFDA add.w D0, [A6 - 0x26] 000014D6 4E76 trapv 000014D8 5340 subq.w D0, 1 000014DA 4E76 trapv 000014DC 5240 addq.w D0, 1 000014DE 3F00 move.w -[A7], D0 000014E0 302E FFD6 move.w D0, [A6 - 0x2A] 000014E4 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 000014EA 3036 00E4 move.w D0, [A6 + D0.w - 0x28] 000014EE C1FC 000F muls.w D0, 0xF 000014F2 81FC 0001 divs.w D0, 0x1 000014F6 4E76 trapv 000014F8 D06E FFD8 add.w D0, [A6 - 0x28] 000014FC 4E76 trapv 000014FE 5340 subq.w D0, 1 00001500 4E76 trapv 00001502 5240 addq.w D0, 1 00001504 3F00 move.w -[A7], D0 00001506 302E FFD6 move.w D0, [A6 - 0x2A] 0000150A 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001510 3036 00DC move.w D0, [A6 + D0.w - 0x36] 00001514 5240 addq.w D0, 1 00001516 4E76 trapv 00001518 C1FC 000F muls.w D0, 0xF 0000151C 81FC 0001 divs.w D0, 0x1 00001520 4E76 trapv 00001522 D06E FFDA add.w D0, [A6 - 0x26] 00001526 4E76 trapv 00001528 5340 subq.w D0, 1 0000152A 4E76 trapv 0000152C 5240 addq.w D0, 1 0000152E 3F00 move.w -[A7], D0 00001530 302E FFD6 move.w D0, [A6 - 0x2A] 00001534 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 0000153A 3036 00E4 move.w D0, [A6 + D0.w - 0x28] 0000153E 5240 addq.w D0, 1 00001540 4E76 trapv 00001542 C1FC 000F muls.w D0, 0xF 00001546 81FC 0001 divs.w D0, 0x1 0000154A 4E76 trapv 0000154C D06E FFD8 add.w D0, [A6 - 0x28] 00001550 4E76 trapv 00001552 5340 subq.w D0, 1 00001554 4E76 trapv 00001556 5240 addq.w D0, 1 00001558 3F00 move.w -[A7], D0 0000155A A8A7 syscall SetRect 0000155C 4A6E 0008 tst.w [A6 + 0x8] 00001560 6600 0014 bne +0x16 /* 00001576 */ 00001564 486E FFCE pea.l [A6 - 0x32] 00001568 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000156C 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001570 A8B1 syscall PaintRoundRect 00001572 6000 0010 bra +0x12 /* 00001584 */ label00001576: 00001576 486E FFCE pea.l [A6 - 0x32] 0000157A 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000157E 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001582 A8B2 syscall EraseRoundRect label00001584: 00001584 302E FFD6 move.w D0, [A6 - 0x2A] 00001588 B06E FFCC cmp.w D0, [A6 - 0x34] 0000158C 6702 beq +0x4 /* 00001590 */ 0000158E 4E46 trap 6 label00001590: 00001590 526E FFCC addq.w [A6 - 0x34], 1 00001594 526E FFD6 addq.w [A6 - 0x2A], 1 00001598 51CF FF1C dbf D7, -0xE6 /* 000014B6 */ 0000159C 4CDF 0080 movem.l D7, [A7]+ 000015A0 4E5E unlink A6 000015A2 205F movea.l A0, [A7]+ 000015A4 5C4F addq.w A7, 6 000015A6 4ED0 jmp [A0] 000015A8 4452 neg.w [A2] 000015AA 4157 chk.w D0, [A7] 000015AC 424C clr.w A4 000015AE 4F43 chk.w D7, D3 fn000015B0: 000015B0 4E56 FFD4 link A6, -0x002C 000015B4 48E7 0300 movem.l -[A7], D6,D7 000015B8 3D7C 0064 FFEE move.w [A6 - 0x12], 0x64 /* 'd' */ 000015BE 426E FFEC clr.w [A6 - 0x14] 000015C2 7E08 moveq.l D7, 0x08 000015C4 3D7C 0001 FFEA move.w [A6 - 0x16], 0x1 000015CA 3D7C 0001 FFDE move.w [A6 - 0x22], 0x1 label000015D0: 000015D0 7C13 moveq.l D6, 0x13 000015D2 426E FFE8 clr.w [A6 - 0x18] 000015D6 426E FFDC clr.w [A6 - 0x24] label000015DA: 000015DA 302E FFEA move.w D0, [A6 - 0x16] 000015DE 3200 move.w D1, D0 000015E0 5441 addq.w D1, 2 000015E2 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 000015E8 0032 322E FFE8 3401 ori.b [0x3401], 0x2E /* '.' */ 000015F0 5442 addq.w D2, 2 000015F2 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 000015F8 D041 add.w D0, D1 000015FA 0640 FAD2 addi.w D0, 0xFAD2 000015FE 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001604 6600 008E bne +0x90 /* 00001694 */ 00001608 486E FFE0 pea.l [A6 - 0x20] 0000160C 302E FFEA move.w D0, [A6 - 0x16] 00001610 C1FC 000F muls.w D0, 0xF 00001614 81FC 0001 divs.w D0, 0x1 00001618 4E76 trapv 0000161A D06E FFEE add.w D0, [A6 - 0x12] 0000161E 4E76 trapv 00001620 5340 subq.w D0, 1 00001622 4E76 trapv 00001624 5240 addq.w D0, 1 00001626 3F00 move.w -[A7], D0 00001628 302E FFE8 move.w D0, [A6 - 0x18] 0000162C C1FC 000F muls.w D0, 0xF 00001630 81FC 0001 divs.w D0, 0x1 00001634 4E76 trapv 00001636 D06E FFEC add.w D0, [A6 - 0x14] 0000163A 4E76 trapv 0000163C 5340 subq.w D0, 1 0000163E 4E76 trapv 00001640 5240 addq.w D0, 1 00001642 3F00 move.w -[A7], D0 00001644 302E FFEA move.w D0, [A6 - 0x16] 00001648 5240 addq.w D0, 1 0000164A 4E76 trapv 0000164C C1FC 000F muls.w D0, 0xF 00001650 81FC 0001 divs.w D0, 0x1 00001654 4E76 trapv 00001656 D06E FFEE add.w D0, [A6 - 0x12] 0000165A 4E76 trapv 0000165C 5340 subq.w D0, 1 0000165E 4E76 trapv 00001660 5240 addq.w D0, 1 00001662 3F00 move.w -[A7], D0 00001664 302E FFE8 move.w D0, [A6 - 0x18] 00001668 5240 addq.w D0, 1 0000166A 4E76 trapv 0000166C C1FC 000F muls.w D0, 0xF 00001670 81FC 0001 divs.w D0, 0x1 00001674 4E76 trapv 00001676 D06E FFEC add.w D0, [A6 - 0x14] 0000167A 4E76 trapv 0000167C 5340 subq.w D0, 1 0000167E 4E76 trapv 00001680 5240 addq.w D0, 1 00001682 3F00 move.w -[A7], D0 00001684 A8A7 syscall SetRect 00001686 486E FFE0 pea.l [A6 - 0x20] 0000168A 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000168E 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001692 A8B1 syscall PaintRoundRect label00001694: 00001694 302E FFE8 move.w D0, [A6 - 0x18] 00001698 B06E FFDC cmp.w D0, [A6 - 0x24] 0000169C 6702 beq +0x4 /* 000016A0 */ 0000169E 4E46 trap 6 label000016A0: 000016A0 526E FFDC addq.w [A6 - 0x24], 1 000016A4 526E FFE8 addq.w [A6 - 0x18], 1 000016A8 51CE FF30 dbf D6, -0xD2 /* 000015DA */ 000016AC 302E FFEA move.w D0, [A6 - 0x16] 000016B0 B06E FFDE cmp.w D0, [A6 - 0x22] 000016B4 6702 beq +0x4 /* 000016B8 */ 000016B6 4E46 trap 6 label000016B8: 000016B8 526E FFDE addq.w [A6 - 0x22], 1 000016BC 526E FFEA addq.w [A6 - 0x16], 1 000016C0 51CF FF0E dbf D7, -0xF4 /* 000015D0 */ 000016C4 4CDF 00C0 movem.l D6,D7, [A7]+ 000016C8 4E5E unlink A6 000016CA 4E75 rts 000016CC 4452 neg.w [A2] 000016CE 4157 chk.w D0, [A7] 000016D0 424F clr.w A7 000016D2 4152 chk.w D0, [A2] fn000016D4: 000016D4 4E56 FED8 link A6, -0x0128 000016D8 48E7 1300 movem.l -[A7], D3,D6,D7 000016DC 2F3C 0000 00FA move.l -[A7], 0xFA 000016E2 2F2D F894 move.l -[A7], [A5 - 0x76C] 000016E6 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 000016EA 4E76 trapv 000016EC 201F move.l D0, [A7]+ 000016EE D0AD F870 add.l D0, [A5 - 0x790] 000016F2 4E76 trapv 000016F4 2B40 F870 move.l [A5 - 0x790], D0 000016F8 302D F87C move.w D0, [A5 - 0x784] 000016FC 5240 addq.w D0, 1 000016FE 4E76 trapv 00001700 5340 subq.w D0, 1 00001702 4E76 trapv 00001704 5240 addq.w D0, 1 00001706 3B40 F87C move.w [A5 - 0x784], D0 0000170A 0C6D 0001 F898 cmpi.w [A5 - 0x768], 0x1 00001710 6600 0010 bne +0x12 /* 00001722 */ 00001714 2F2D F828 move.l -[A7], [A5 - 0x7D8] 00001718 7024 moveq.l D0, 0x24 0000171A 2F00 move.l -[A7], D0 0000171C 42A7 clr.l -[A7] 0000171E 4EAD 008A jsr [A5 + 0x8A /* export_13 */] label00001722: 00001722 302D F87C move.w D0, [A5 - 0x784] 00001726 48C0 ext.l D0 00001728 2F00 move.l -[A7], D0 0000172A 486E FEE4 pea.l [A6 - 0x11C] 0000172E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */] 00001732 486E FFE4 pea.l [A6 - 0x1C] 00001736 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000173A 3F3C 005C move.w -[A7], 0x5C /* '\\' */ 0000173E 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00001742 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00001746 A8A7 syscall SetRect 00001748 486E FFE4 pea.l [A6 - 0x1C] 0000174C A8A3 syscall EraseRect 0000174E 3F3C 000B move.w -[A7], 0xB 00001752 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00001756 A893 syscall MoveTo 00001758 486E FEE4 pea.l [A6 - 0x11C] 0000175C A884 syscall DrawString 0000175E 302E 0008 move.w D0, [A6 + 0x8] 00001762 5340 subq.w D0, 1 00001764 4E76 trapv 00001766 5240 addq.w D0, 1 00001768 7201 moveq.l D1, 0x01 0000176A 3E00 move.w D7, D0 0000176C BE41 cmp.w D7, D1 0000176E 6D00 00A2 blt +0xA4 /* 00001812 */ 00001772 3D47 FFEC move.w [A6 - 0x14], D7 00001776 3D47 FEE2 move.w [A6 - 0x11E], D7 0000177A 9E41 sub.w D7, D1 label0000177C: 0000177C 7C08 moveq.l D6, 0x08 0000177E 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1 00001784 3D7C 0001 FEE0 move.w [A6 - 0x120], 0x1 label0000178A: 0000178A 302E FFEE move.w D0, [A6 - 0x12] 0000178E 3200 move.w D1, D0 00001790 5441 addq.w D1, 2 00001792 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001798 0032 322E FFEC ori.b <>, 0x2E /* '.' */ 0000179E 3401 move.w D2, D1 000017A0 5442 addq.w D2, 2 000017A2 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 000017A8 D041 add.w D0, D1 000017AA 322E FFEE move.w D1, [A6 - 0x12] 000017AE 3401 move.w D2, D1 000017B0 5442 addq.w D2, 2 000017B2 45BC 000E C3FC .invalid 2, 0xEC3FC // invalid opcode 4 with b == 6 000017B8 0032 342E FFEC ori.b <>, 0x2E /* '.' */ 000017BE 5342 subq.w D2, 1 000017C0 4E76 trapv 000017C2 3602 move.w D3, D2 000017C4 5443 addq.w D3, 2 000017C6 47BC 0018 E342 .invalid 3, 0x18E342 // invalid opcode 4 with b == 6 000017CC D242 add.w D1, D2 000017CE 0641 FAD2 addi.w D1, 0xFAD2 000017D2 3435 1000 move.w D2, [A5 + D1.w] 000017D6 45BC 00FF 0640 .invalid 2, 0xFF0640 // invalid opcode 4 with b == 6 000017DC FAD2 3B82 .extension 0xAD2 <> // unimplemented 000017E0 0000 302E ori.b D0, 0x2E /* '.' */ 000017E4 FFEE .invalid <> 000017E6 B06E FEE0 cmp.w D0, [A6 - 0x120] 000017EA 6702 beq +0x4 /* 000017EE */ 000017EC 4E46 trap 6 label000017EE: 000017EE 526E FEE0 addq.w [A6 - 0x120], 1 000017F2 526E FFEE addq.w [A6 - 0x12], 1 000017F6 51CE FF92 dbf D6, -0x70 /* 0000178A */ 000017FA 302E FFEC move.w D0, [A6 - 0x14] 000017FE B06E FEE2 cmp.w D0, [A6 - 0x11E] 00001802 6702 beq +0x4 /* 00001806 */ 00001804 4E46 trap 6 label00001806: 00001806 536E FEE2 subq.w [A6 - 0x11E], 1 0000180A 536E FFEC subq.w [A6 - 0x14], 1 0000180E 51CF FF6C dbf D7, -0x96 /* 0000177C */ label00001812: 00001812 302E 0008 move.w D0, [A6 + 0x8] 00001816 5340 subq.w D0, 1 00001818 4E76 trapv 0000181A 5240 addq.w D0, 1 0000181C 7200 moveq.l D1, 0x00 0000181E 3E00 move.w D7, D0 00001820 BE41 cmp.w D7, D1 00001822 6D00 017C blt +0x17E /* 000019A0 */ 00001826 3D47 FFEC move.w [A6 - 0x14], D7 0000182A 3D47 FEE2 move.w [A6 - 0x11E], D7 0000182E 9E41 sub.w D7, D1 label00001830: 00001830 7C08 moveq.l D6, 0x08 00001832 3D7C 0001 FFEE move.w [A6 - 0x12], 0x1 00001838 3D7C 0001 FEE0 move.w [A6 - 0x120], 0x1 label0000183E: 0000183E 302E FFEE move.w D0, [A6 - 0x12] 00001842 3200 move.w D1, D0 00001844 5441 addq.w D1, 2 00001846 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 0000184C 0032 322E FFEC ori.b <>, 0x2E /* '.' */ 00001852 3401 move.w D2, D1 00001854 5442 addq.w D2, 2 00001856 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 0000185C D041 add.w D0, D1 0000185E 0640 FAD2 addi.w D0, 0xFAD2 00001862 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001868 6600 0086 bne +0x88 /* 000018F0 */ 0000186C 486E FFE4 pea.l [A6 - 0x1C] 00001870 302E FFEE move.w D0, [A6 - 0x12] 00001874 C1FC 000F muls.w D0, 0xF 00001878 81FC 0001 divs.w D0, 0x1 0000187C 4E76 trapv 0000187E 0640 0064 addi.w D0, 0x64 /* 'd' */ 00001882 4E76 trapv 00001884 5340 subq.w D0, 1 00001886 4E76 trapv 00001888 5240 addq.w D0, 1 0000188A 3F00 move.w -[A7], D0 0000188C 302E FFEC move.w D0, [A6 - 0x14] 00001890 C1FC 000F muls.w D0, 0xF 00001894 81FC 0001 divs.w D0, 0x1 00001898 4E76 trapv 0000189A 5340 subq.w D0, 1 0000189C 4E76 trapv 0000189E 5240 addq.w D0, 1 000018A0 3F00 move.w -[A7], D0 000018A2 302E FFEE move.w D0, [A6 - 0x12] 000018A6 5240 addq.w D0, 1 000018A8 4E76 trapv 000018AA C1FC 000F muls.w D0, 0xF 000018AE 81FC 0001 divs.w D0, 0x1 000018B2 4E76 trapv 000018B4 0640 0064 addi.w D0, 0x64 /* 'd' */ 000018B8 4E76 trapv 000018BA 5340 subq.w D0, 1 000018BC 4E76 trapv 000018BE 5240 addq.w D0, 1 000018C0 3F00 move.w -[A7], D0 000018C2 302E FFEC move.w D0, [A6 - 0x14] 000018C6 5240 addq.w D0, 1 000018C8 4E76 trapv 000018CA C1FC 000F muls.w D0, 0xF 000018CE 81FC 0001 divs.w D0, 0x1 000018D2 4E76 trapv 000018D4 5340 subq.w D0, 1 000018D6 4E76 trapv 000018D8 5240 addq.w D0, 1 000018DA 3F00 move.w -[A7], D0 000018DC A8A7 syscall SetRect 000018DE 486E FFE4 pea.l [A6 - 0x1C] 000018E2 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000018E6 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000018EA A8B1 syscall PaintRoundRect 000018EC 6000 0082 bra +0x84 /* 00001970 */ label000018F0: 000018F0 486E FFE4 pea.l [A6 - 0x1C] 000018F4 302E FFEE move.w D0, [A6 - 0x12] 000018F8 C1FC 000F muls.w D0, 0xF 000018FC 81FC 0001 divs.w D0, 0x1 00001900 4E76 trapv 00001902 0640 0064 addi.w D0, 0x64 /* 'd' */ 00001906 4E76 trapv 00001908 5340 subq.w D0, 1 0000190A 4E76 trapv 0000190C 5240 addq.w D0, 1 0000190E 3F00 move.w -[A7], D0 00001910 302E FFEC move.w D0, [A6 - 0x14] 00001914 C1FC 000F muls.w D0, 0xF 00001918 81FC 0001 divs.w D0, 0x1 0000191C 4E76 trapv 0000191E 5340 subq.w D0, 1 00001920 4E76 trapv 00001922 5240 addq.w D0, 1 00001924 3F00 move.w -[A7], D0 00001926 302E FFEE move.w D0, [A6 - 0x12] 0000192A 5240 addq.w D0, 1 0000192C 4E76 trapv 0000192E C1FC 000F muls.w D0, 0xF 00001932 81FC 0001 divs.w D0, 0x1 00001936 4E76 trapv 00001938 0640 0064 addi.w D0, 0x64 /* 'd' */ 0000193C 4E76 trapv 0000193E 5340 subq.w D0, 1 00001940 4E76 trapv 00001942 5240 addq.w D0, 1 00001944 3F00 move.w -[A7], D0 00001946 302E FFEC move.w D0, [A6 - 0x14] 0000194A 5240 addq.w D0, 1 0000194C 4E76 trapv 0000194E C1FC 000F muls.w D0, 0xF 00001952 81FC 0001 divs.w D0, 0x1 00001956 4E76 trapv 00001958 5340 subq.w D0, 1 0000195A 4E76 trapv 0000195C 5240 addq.w D0, 1 0000195E 3F00 move.w -[A7], D0 00001960 A8A7 syscall SetRect 00001962 486E FFE4 pea.l [A6 - 0x1C] 00001966 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000196A 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000196E A8B2 syscall EraseRoundRect label00001970: 00001970 302E FFEE move.w D0, [A6 - 0x12] 00001974 B06E FEE0 cmp.w D0, [A6 - 0x120] 00001978 6702 beq +0x4 /* 0000197C */ 0000197A 4E46 trap 6 label0000197C: 0000197C 526E FEE0 addq.w [A6 - 0x120], 1 00001980 526E FFEE addq.w [A6 - 0x12], 1 00001984 51CE FEB8 dbf D6, -0x14A /* 0000183E */ 00001988 302E FFEC move.w D0, [A6 - 0x14] 0000198C B06E FEE2 cmp.w D0, [A6 - 0x11E] 00001990 6702 beq +0x4 /* 00001994 */ 00001992 4E46 trap 6 label00001994: 00001994 536E FEE2 subq.w [A6 - 0x11E], 1 00001998 536E FFEC subq.w [A6 - 0x14], 1 0000199C 51CF FE92 dbf D7, -0x170 /* 00001830 */ label000019A0: 000019A0 4CDF 00C8 movem.l D3,D6,D7, [A7]+ 000019A4 4E5E unlink A6 000019A6 205F movea.l A0, [A7]+ 000019A8 544F addq.w A7, 2 000019AA 4ED0 jmp [A0] 000019AC 4445 neg.w D5 000019AE 4C45 5445 movem.l D0,D2,D6,A2,A4,A6, D5 000019B2 524F addq.w A7, 1 fn000019B4: 000019B4 4E56 FEC8 link A6, -0x0138 000019B8 48E7 0100 movem.l -[A7], D7 000019BC 206E 0008 movea.l A0, [A6 + 0x8] 000019C0 43EE FFDC lea.l A1, [A6 - 0x24] 000019C4 7004 moveq.l D0, 0x04 label000019C6: 000019C6 22D8 move.l [A1]+, [A0]+ 000019C8 51C8 FFFC dbf D0, -0x6 /* 000019C6 */ 000019CC 7019 moveq.l D0, 0x19 000019CE D0AD F870 add.l D0, [A5 - 0x790] 000019D2 4E76 trapv 000019D4 2B40 F870 move.l [A5 - 0x790], D0 000019D8 486E FFDC pea.l [A6 - 0x24] 000019DC 4267 clr.w -[A7] 000019DE 4EBA FA7E jsr [PC - 0x582 /* 0000145E */] 000019E2 7E03 moveq.l D7, 0x03 000019E4 426E FFDA clr.w [A6 - 0x26] 000019E8 426E FECE clr.w [A6 - 0x132] label000019EC: 000019EC 302E FFDA move.w D0, [A6 - 0x26] 000019F0 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 000019F6 3036 00DC move.w D0, [A6 + D0.w - 0x36] 000019FA D06E FFEC add.w D0, [A6 - 0x14] 000019FE 4E76 trapv 00001A00 3200 move.w D1, D0 00001A02 5441 addq.w D1, 2 00001A04 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001A0A 0032 322E FFDA 43BC ori.b [[] + 0x43BC], 0x2E /* '.' */ 00001A12 0003 E341 ori.b D3, 0x41 /* 'A' */ 00001A16 3236 10E4 move.w D1, [A6 + D1.w - 0x28] 00001A1A D26E FFEE add.w D1, [A6 - 0x12] 00001A1E 4E76 trapv 00001A20 3401 move.w D2, D1 00001A22 5442 addq.w D2, 2 00001A24 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00001A2A D041 add.w D0, D1 00001A2C 0640 FAD2 addi.w D0, 0xFAD2 00001A30 3BBC 0001 0000 move.w [A5 + D0.w], 0x1 00001A36 302E FFDA move.w D0, [A6 - 0x26] 00001A3A B06E FECE cmp.w D0, [A6 - 0x132] 00001A3E 6702 beq +0x4 /* 00001A42 */ 00001A40 4E46 trap 6 label00001A42: 00001A42 526E FECE addq.w [A6 - 0x132], 1 00001A46 526E FFDA addq.w [A6 - 0x26], 1 00001A4A 51CF FFA0 dbf D7, -0x62 /* 000019EC */ 00001A4E 3D7C 0013 FFDA move.w [A6 - 0x26], 0x13 label00001A54: 00001A54 3D7C 0001 FFD8 move.w [A6 - 0x28], 0x1 label00001A5A: 00001A5A 302E FFD8 move.w D0, [A6 - 0x28] 00001A5E 3200 move.w D1, D0 00001A60 5441 addq.w D1, 2 00001A62 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001A68 0032 322E FFDA 3401 ori.b [[] + 0x3401], 0x2E /* '.' */ 00001A70 5442 addq.w D2, 2 00001A72 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00001A78 D041 add.w D0, D1 00001A7A 0640 FAD2 addi.w D0, 0xFAD2 00001A7E 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001A84 57C0 seq D0 00001A86 4400 neg.b D0 00001A88 0C6E 000A FFD8 cmpi.w [A6 - 0x28], 0xA /* '\n' */ 00001A8E 5DC1 slt D1 00001A90 4401 neg.b D1 00001A92 C001 and.b D0, D1 00001A94 4A00 tst.b D0 00001A96 6700 0016 beq +0x18 /* 00001AAE */ 00001A9A 302E FFD8 move.w D0, [A6 - 0x28] 00001A9E 5240 addq.w D0, 1 00001AA0 4E76 trapv 00001AA2 5340 subq.w D0, 1 00001AA4 4E76 trapv 00001AA6 5240 addq.w D0, 1 00001AA8 3D40 FFD8 move.w [A6 - 0x28], D0 00001AAC 60AC bra -0x52 /* 00001A5A */ label00001AAE: 00001AAE 0C6E 000A FFD8 cmpi.w [A6 - 0x28], 0xA /* '\n' */ 00001AB4 6600 0016 bne +0x18 /* 00001ACC */ 00001AB8 302E FFDA move.w D0, [A6 - 0x26] 00001ABC 5340 subq.w D0, 1 00001ABE 4E76 trapv 00001AC0 5240 addq.w D0, 1 00001AC2 3F00 move.w -[A7], D0 00001AC4 4EBA FC0E jsr [PC - 0x3F2 /* 000016D4 */] 00001AC8 6000 0014 bra +0x16 /* 00001ADE */ label00001ACC: 00001ACC 302E FFDA move.w D0, [A6 - 0x26] 00001AD0 5340 subq.w D0, 1 00001AD2 4E76 trapv 00001AD4 5340 subq.w D0, 1 00001AD6 4E76 trapv 00001AD8 5240 addq.w D0, 1 00001ADA 3D40 FFDA move.w [A6 - 0x26], D0 label00001ADE: 00001ADE 4A6E FFDA tst.w [A6 - 0x26] 00001AE2 6600 FF70 bne -0x8E /* 00001A54 */ 00001AE6 2F2D F870 move.l -[A7], [A5 - 0x790] 00001AEA 486E FED8 pea.l [A6 - 0x128] 00001AEE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */] 00001AF2 486E FED0 pea.l [A6 - 0x130] 00001AF6 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001AFA 3F3C 0032 move.w -[A7], 0x32 /* '2' */ 00001AFE 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00001B02 3F3C 0047 move.w -[A7], 0x47 /* 'G' */ 00001B06 A8A7 syscall SetRect 00001B08 486E FED0 pea.l [A6 - 0x130] 00001B0C A8A3 syscall EraseRect 00001B0E 3F3C 000B move.w -[A7], 0xB 00001B12 3F3C 0046 move.w -[A7], 0x46 /* 'F' */ 00001B16 A893 syscall MoveTo 00001B18 486E FED8 pea.l [A6 - 0x128] 00001B1C A884 syscall DrawString 00001B1E 302D F87C move.w D0, [A5 - 0x784] 00001B22 B06D F87A cmp.w D0, [A5 - 0x786] 00001B26 6D00 00CE blt +0xD0 /* 00001BF6 */ 00001B2A 0C6D 0001 F898 cmpi.w [A5 - 0x768], 0x1 00001B30 6600 0010 bne +0x12 /* 00001B42 */ 00001B34 2F2D F82C move.l -[A7], [A5 - 0x7D4] 00001B38 7024 moveq.l D0, 0x24 00001B3A 2F00 move.l -[A7], D0 00001B3C 42A7 clr.l -[A7] 00001B3E 4EAD 008A jsr [A5 + 0x8A /* export_13 */] label00001B42: 00001B42 4EBA F082 jsr [PC - 0xF7E /* 00000BC6 */] 00001B46 426D F87C clr.w [A5 - 0x784] 00001B4A 302D F87A move.w D0, [A5 - 0x786] 00001B4E 5640 addq.w D0, 3 00001B50 4E76 trapv 00001B52 5340 subq.w D0, 1 00001B54 4E76 trapv 00001B56 5240 addq.w D0, 1 00001B58 3B40 F87A move.w [A5 - 0x786], D0 00001B5C 0C6D 0014 F87A cmpi.w [A5 - 0x786], 0x14 00001B62 6F00 002A ble +0x2C /* 00001B8E */ 00001B66 3B7C 000A F87A move.w [A5 - 0x786], 0xA /* '\n' */ 00001B6C 202D F894 move.l D0, [A5 - 0x76C] 00001B70 5480 addq.l D0, 2 00001B72 4E76 trapv 00001B74 2B40 F894 move.l [A5 - 0x76C], D0 00001B78 700A moveq.l D0, 0x0A 00001B7A B0AD F894 cmp.l D0, [A5 - 0x76C] 00001B7E 6C00 000E bge +0x10 /* 00001B8E */ 00001B82 700A moveq.l D0, 0x0A 00001B84 2B40 F894 move.l [A5 - 0x76C], D0 00001B88 3B7C 0014 F87A move.w [A5 - 0x786], 0x14 label00001B8E: 00001B8E 302D F87A move.w D0, [A5 - 0x786] 00001B92 48C0 ext.l D0 00001B94 2F00 move.l -[A7], D0 00001B96 486E FED8 pea.l [A6 - 0x128] 00001B9A 4EAD 0052 jsr [A5 + 0x52 /* export_6 */] 00001B9E 486E FED0 pea.l [A6 - 0x130] 00001BA2 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001BA6 3F3C 005C move.w -[A7], 0x5C /* '\\' */ 00001BAA 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00001BAE 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00001BB2 A8A7 syscall SetRect 00001BB4 486E FED0 pea.l [A6 - 0x130] 00001BB8 A8A3 syscall EraseRect 00001BBA 3F3C 000B move.w -[A7], 0xB 00001BBE 3F3C 0069 move.w -[A7], 0x69 /* 'i' */ 00001BC2 A893 syscall MoveTo 00001BC4 487A 0044 pea.l [PC + 0x44 /* 00001C0A, value 0x1304E56 */] 00001BC8 A884 syscall DrawString 00001BCA 486E FED0 pea.l [A6 - 0x130] 00001BCE 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001BD2 3F3C 0083 move.w -[A7], 0x83 00001BD6 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 00001BDA 3F3C 0091 move.w -[A7], 0x91 00001BDE A8A7 syscall SetRect 00001BE0 486E FED0 pea.l [A6 - 0x130] 00001BE4 A8A3 syscall EraseRect 00001BE6 3F3C 000B move.w -[A7], 0xB 00001BEA 3F3C 0091 move.w -[A7], 0x91 00001BEE A893 syscall MoveTo 00001BF0 486E FED8 pea.l [A6 - 0x128] 00001BF4 A884 syscall DrawString label00001BF6: 00001BF6 4CDF 0080 movem.l D7, [A7]+ 00001BFA 4E5E unlink A6 00001BFC 205F movea.l A0, [A7]+ 00001BFE 584F addq.w A7, 4 00001C00 4ED0 jmp [A0] 00001C02 4D41 chk.w D6, D1 00001C04 524B addq.w A3, 1 00001C06 424C clr.w A4 00001C08 4F43 chk.w D7, D3 00001C0A 0130 4E56 btst [A0 + D4 * 8 + 0x56], D0 // begin alternate branch 00001C0C-00001C10 fn00001C0C: 00001C0C 4E56 FFEA link A6, -0x0016 // end alternate branch 00001C0C-00001C10 fn00001C0C: // (misaligned) 00001C0E FFEA .invalid <> 00001C10 48E7 0100 movem.l -[A7], D7 00001C14 206E 0008 movea.l A0, [A6 + 0x8] 00001C18 43ED F834 lea.l A1, [A5 - 0x7CC] 00001C1C 7004 moveq.l D0, 0x04 label00001C1E: 00001C1E 20D9 move.l [A0]+, [A1]+ 00001C20 51C8 FFFC dbf D0, -0x6 /* 00001C1E */ 00001C24 486D F834 pea.l [A5 - 0x7CC] 00001C28 4EBA EBEE jsr [PC - 0x1412 /* 00000818 */] 00001C2C 486D F834 pea.l [A5 - 0x7CC] 00001C30 4EBA EE76 jsr [PC - 0x118A /* 00000AA8 */] 00001C34 554F subq.w A7, 2 00001C36 A861 syscall Random 00001C38 7007 moveq.l D0, 0x07 00001C3A 321F move.w D1, [A7]+ 00001C3C 48C1 ext.l D1 00001C3E 83C0 divs.w D1, D0 00001C40 4841 swap.w D1 00001C42 4A41 tst.w D1 00001C44 6A02 bpl +0x4 /* 00001C48 */ 00001C46 D240 add.w D1, D0 label00001C48: 00001C48 4A41 tst.w D1 00001C4A 6A02 bpl +0x4 /* 00001C4E */ 00001C4C 4441 neg.w D1 label00001C4E: 00001C4E 5341 subq.w D1, 1 00001C50 4E76 trapv 00001C52 5241 addq.w D1, 1 00001C54 3B41 F89A move.w [A5 - 0x766], D1 00001C58 1D7C 0001 FFED move.b [A6 - 0x13], 0x1 00001C5E 7E03 moveq.l D7, 0x03 00001C60 426E FFEE clr.w [A6 - 0x12] 00001C64 426E FFEA clr.w [A6 - 0x16] label00001C68: 00001C68 206E 0008 movea.l A0, [A6 + 0x8] 00001C6C 302E FFEE move.w D0, [A6 - 0x12] 00001C70 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001C76 226E 0008 movea.l A1, [A6 + 0x8] 00001C7A 3030 0000 move.w D0, [A0 + D0.w] 00001C7E D069 0010 add.w D0, [A1 + 0x10] 00001C82 4E76 trapv 00001C84 3200 move.w D1, D0 00001C86 5441 addq.w D1, 2 00001C88 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001C8E 0032 206E 0008 ori.b [A2 + D0.w + 0x8], 0x6E /* 'n' */ 00001C94 322E FFEE move.w D1, [A6 - 0x12] 00001C98 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001C9E 226E 0008 movea.l A1, [A6 + 0x8] 00001CA2 3230 1008 move.w D1, [A0 + D1.w + 0x8] 00001CA6 D269 0012 add.w D1, [A1 + 0x12] 00001CAA 4E76 trapv 00001CAC 3401 move.w D2, D1 00001CAE 5442 addq.w D2, 2 00001CB0 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00001CB6 D041 add.w D0, D1 00001CB8 0640 FAD2 addi.w D0, 0xFAD2 00001CBC 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001CC2 6600 0006 bne +0x8 /* 00001CCA */ 00001CC6 422E FFED clr.b [A6 - 0x13] label00001CCA: 00001CCA 302E FFEE move.w D0, [A6 - 0x12] 00001CCE B06E FFEA cmp.w D0, [A6 - 0x16] 00001CD2 6702 beq +0x4 /* 00001CD6 */ 00001CD4 4E46 trap 6 label00001CD6: 00001CD6 526E FFEA addq.w [A6 - 0x16], 1 00001CDA 526E FFEE addq.w [A6 - 0x12], 1 00001CDE 51CF FF88 dbf D7, -0x7A /* 00001C68 */ 00001CE2 4A2E FFED tst.b [A6 - 0x13] 00001CE6 6700 0012 beq +0x14 /* 00001CFA */ 00001CEA 206E 0008 movea.l A0, [A6 + 0x8] 00001CEE 2F08 move.l -[A7], A0 00001CF0 4267 clr.w -[A7] 00001CF2 4EBA F76A jsr [PC - 0x896 /* 0000145E */] 00001CF6 6000 000C bra +0xE /* 00001D04 */ label00001CFA: 00001CFA 206E 0008 movea.l A0, [A6 + 0x8] 00001CFE 2F08 move.l -[A7], A0 00001D00 4EBA FCB2 jsr [PC - 0x34E /* 000019B4 */] label00001D04: 00001D04 7000 moveq.l D0, 0x00 00001D06 102E FFED move.b D0, [A6 - 0x13] 00001D0A 41BC 0001 1D40 .invalid 0, 0x11D40 // invalid opcode 4 with b == 6 00001D10 000C 4CDF ori.b A4, 0xDF 00001D14 0080 4E5E 205F ori.l D0, 0x4E5E205F /* 'N^ _' */ 00001D1A 584F addq.w A7, 4 00001D1C 4ED0 jmp [A0] 00001D1E 4E45 trap 5 00001D20 5742 subq.w D2, 3 00001D22 4C4F 434B movem.l D0,D1,D3,D6,A0,A1,A6, A7 fn00001D26: 00001D26 4E56 FFD8 link A6, -0x0028 00001D2A 48E7 0100 movem.l -[A7], D7 00001D2E 0C6D 0001 F89C cmpi.w [A5 - 0x764], 0x1 00001D34 6600 0078 bne +0x7A /* 00001DAE */ 00001D38 7E03 moveq.l D7, 0x03 00001D3A 426E FFEE clr.w [A6 - 0x12] 00001D3E 426E FFD8 clr.w [A6 - 0x28] label00001D42: 00001D42 302E FFEE move.w D0, [A6 - 0x12] 00001D46 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001D4C 206E 0008 movea.l A0, [A6 + 0x8] 00001D50 322E FFEE move.w D1, [A6 - 0x12] 00001D54 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001D5A 3430 1008 move.w D2, [A0 + D1.w + 0x8] 00001D5E 5342 subq.w D2, 1 00001D60 4E76 trapv 00001D62 5242 addq.w D2, 1 00001D64 3D82 00E2 move.w [A6 + D0.w - 0x30], D2 00001D68 302E FFEE move.w D0, [A6 - 0x12] 00001D6C 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001D72 206E 0008 movea.l A0, [A6 + 0x8] 00001D76 322E FFEE move.w D1, [A6 - 0x12] 00001D7A 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001D80 7404 moveq.l D2, 0x04 00001D82 9470 1000 sub.w D2, [A0 + D1.w] 00001D86 4E76 trapv 00001D88 5342 subq.w D2, 1 00001D8A 4E76 trapv 00001D8C 5242 addq.w D2, 1 00001D8E 3D82 00DA move.w [A6 + D0.w - 0x38], D2 00001D92 302E FFEE move.w D0, [A6 - 0x12] 00001D96 B06E FFD8 cmp.w D0, [A6 - 0x28] 00001D9A 6702 beq +0x4 /* 00001D9E */ 00001D9C 4E46 trap 6 label00001D9E: 00001D9E 526E FFD8 addq.w [A6 - 0x28], 1 00001DA2 526E FFEE addq.w [A6 - 0x12], 1 00001DA6 51CF FF9A dbf D7, -0x68 /* 00001D42 */ 00001DAA 6000 0074 bra +0x76 /* 00001E20 */ label00001DAE: 00001DAE 7E03 moveq.l D7, 0x03 00001DB0 426E FFEE clr.w [A6 - 0x12] 00001DB4 426E FFD8 clr.w [A6 - 0x28] label00001DB8: 00001DB8 302E FFEE move.w D0, [A6 - 0x12] 00001DBC 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001DC2 206E 0008 movea.l A0, [A6 + 0x8] 00001DC6 322E FFEE move.w D1, [A6 - 0x12] 00001DCA 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001DD0 3430 1000 move.w D2, [A0 + D1.w] 00001DD4 5342 subq.w D2, 1 00001DD6 4E76 trapv 00001DD8 5242 addq.w D2, 1 00001DDA 3D82 00DA move.w [A6 + D0.w - 0x38], D2 00001DDE 302E FFEE move.w D0, [A6 - 0x12] 00001DE2 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001DE8 206E 0008 movea.l A0, [A6 + 0x8] 00001DEC 322E FFEE move.w D1, [A6 - 0x12] 00001DF0 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001DF6 7404 moveq.l D2, 0x04 00001DF8 9470 1008 sub.w D2, [A0 + D1.w + 0x8] 00001DFC 4E76 trapv 00001DFE 5342 subq.w D2, 1 00001E00 4E76 trapv 00001E02 5242 addq.w D2, 1 00001E04 3D82 00E2 move.w [A6 + D0.w - 0x30], D2 00001E08 302E FFEE move.w D0, [A6 - 0x12] 00001E0C B06E FFD8 cmp.w D0, [A6 - 0x28] 00001E10 6702 beq +0x4 /* 00001E14 */ 00001E12 4E46 trap 6 label00001E14: 00001E14 526E FFD8 addq.w [A6 - 0x28], 1 00001E18 526E FFEE addq.w [A6 - 0x12], 1 00001E1C 51CF FF9A dbf D7, -0x68 /* 00001DB8 */ label00001E20: 00001E20 1D7C 0001 FFEA move.b [A6 - 0x16], 0x1 00001E26 7E03 moveq.l D7, 0x03 00001E28 426E FFEE clr.w [A6 - 0x12] 00001E2C 426E FFD8 clr.w [A6 - 0x28] label00001E30: 00001E30 302E FFEE move.w D0, [A6 - 0x12] 00001E34 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001E3A 206E 0008 movea.l A0, [A6 + 0x8] 00001E3E 3036 00E2 move.w D0, [A6 + D0.w - 0x30] 00001E42 D068 0010 add.w D0, [A0 + 0x10] 00001E46 4E76 trapv 00001E48 3200 move.w D1, D0 00001E4A 5441 addq.w D1, 2 00001E4C 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001E52 0032 322E FFEE ori.b <>, 0x2E /* '.' */ 00001E58 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001E5E 206E 0008 movea.l A0, [A6 + 0x8] 00001E62 3236 10DA move.w D1, [A6 + D1.w - 0x38] 00001E66 D268 0012 add.w D1, [A0 + 0x12] 00001E6A 4E76 trapv 00001E6C 3401 move.w D2, D1 00001E6E 5442 addq.w D2, 2 00001E70 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00001E76 D041 add.w D0, D1 00001E78 0640 FAD2 addi.w D0, 0xFAD2 00001E7C 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001E82 6600 0006 bne +0x8 /* 00001E8A */ 00001E86 422E FFEA clr.b [A6 - 0x16] label00001E8A: 00001E8A 302E FFEE move.w D0, [A6 - 0x12] 00001E8E B06E FFD8 cmp.w D0, [A6 - 0x28] 00001E92 6702 beq +0x4 /* 00001E96 */ 00001E94 4E46 trap 6 label00001E96: 00001E96 526E FFD8 addq.w [A6 - 0x28], 1 00001E9A 526E FFEE addq.w [A6 - 0x12], 1 00001E9E 51CF FF90 dbf D7, -0x72 /* 00001E30 */ 00001EA2 206E 0008 movea.l A0, [A6 + 0x8] 00001EA6 2F08 move.l -[A7], A0 00001EA8 3F3C 0001 move.w -[A7], 0x1 00001EAC 4EBA F5B0 jsr [PC - 0xA50 /* 0000145E */] 00001EB0 4A2E FFEA tst.b [A6 - 0x16] 00001EB4 6700 0070 beq +0x72 /* 00001F26 */ 00001EB8 7E03 moveq.l D7, 0x03 00001EBA 426E FFEE clr.w [A6 - 0x12] 00001EBE 426E FFD8 clr.w [A6 - 0x28] label00001EC2: 00001EC2 206E 0008 movea.l A0, [A6 + 0x8] 00001EC6 302E FFEE move.w D0, [A6 - 0x12] 00001ECA 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001ED0 322E FFEE move.w D1, [A6 - 0x12] 00001ED4 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001EDA 3436 10E2 move.w D2, [A6 + D1.w - 0x30] 00001EDE 5342 subq.w D2, 1 00001EE0 4E76 trapv 00001EE2 5242 addq.w D2, 1 00001EE4 3182 0000 move.w [A0 + D0.w], D2 00001EE8 206E 0008 movea.l A0, [A6 + 0x8] 00001EEC 302E FFEE move.w D0, [A6 - 0x12] 00001EF0 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001EF6 322E FFEE move.w D1, [A6 - 0x12] 00001EFA 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001F00 3436 10DA move.w D2, [A6 + D1.w - 0x38] 00001F04 5342 subq.w D2, 1 00001F06 4E76 trapv 00001F08 5242 addq.w D2, 1 00001F0A 3182 0008 move.w [A0 + D0.w + 0x8], D2 00001F0E 302E FFEE move.w D0, [A6 - 0x12] 00001F12 B06E FFD8 cmp.w D0, [A6 - 0x28] 00001F16 6702 beq +0x4 /* 00001F1A */ 00001F18 4E46 trap 6 label00001F1A: 00001F1A 526E FFD8 addq.w [A6 - 0x28], 1 00001F1E 526E FFEE addq.w [A6 - 0x12], 1 00001F22 51CF FF9E dbf D7, -0x64 /* 00001EC2 */ label00001F26: 00001F26 206E 0008 movea.l A0, [A6 + 0x8] 00001F2A 2F08 move.l -[A7], A0 00001F2C 4267 clr.w -[A7] 00001F2E 4EBA F52E jsr [PC - 0xAD2 /* 0000145E */] 00001F32 1D7C 0001 000C move.b [A6 + 0xC], 0x1 00001F38 4CDF 0080 movem.l D7, [A7]+ 00001F3C 4E5E unlink A6 00001F3E 205F movea.l A0, [A7]+ 00001F40 584F addq.w A7, 4 00001F42 4ED0 jmp [A0] 00001F44 524F addq.w A7, 1 00001F46 5441 addq.w D1, 2 00001F48 5445 addq.w D5, 2 00001F4A 424C clr.w A4 fn00001F4C: 00001F4C 4E56 FFEA link A6, -0x0016 00001F50 48E7 0100 movem.l -[A7], D7 00001F54 1D7C 0001 FFED move.b [A6 - 0x13], 0x1 00001F5A 7E03 moveq.l D7, 0x03 00001F5C 426E FFEE clr.w [A6 - 0x12] 00001F60 426E FFEA clr.w [A6 - 0x16] label00001F64: 00001F64 206E 0008 movea.l A0, [A6 + 0x8] 00001F68 302E FFEE move.w D0, [A6 - 0x12] 00001F6C 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00001F72 226E 0008 movea.l A1, [A6 + 0x8] 00001F76 3030 0000 move.w D0, [A0 + D0.w] 00001F7A D069 0010 add.w D0, [A1 + 0x10] 00001F7E 4E76 trapv 00001F80 3200 move.w D1, D0 00001F82 5441 addq.w D1, 2 00001F84 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00001F8A 0032 206E 0008 ori.b [A2 + D0.w + 0x8], 0x6E /* 'n' */ 00001F90 322E FFEE move.w D1, [A6 - 0x12] 00001F94 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 00001F9A 3230 1008 move.w D1, [A0 + D1.w + 0x8] 00001F9E 5241 addq.w D1, 1 00001FA0 4E76 trapv 00001FA2 206E 0008 movea.l A0, [A6 + 0x8] 00001FA6 D268 0012 add.w D1, [A0 + 0x12] 00001FAA 4E76 trapv 00001FAC 3401 move.w D2, D1 00001FAE 5442 addq.w D2, 2 00001FB0 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 00001FB6 D041 add.w D0, D1 00001FB8 0640 FAD2 addi.w D0, 0xFAD2 00001FBC 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 00001FC2 6600 0006 bne +0x8 /* 00001FCA */ 00001FC6 422E FFED clr.b [A6 - 0x13] label00001FCA: 00001FCA 302E FFEE move.w D0, [A6 - 0x12] 00001FCE B06E FFEA cmp.w D0, [A6 - 0x16] 00001FD2 6702 beq +0x4 /* 00001FD6 */ 00001FD4 4E46 trap 6 label00001FD6: 00001FD6 526E FFEA addq.w [A6 - 0x16], 1 00001FDA 526E FFEE addq.w [A6 - 0x12], 1 00001FDE 51CF FF84 dbf D7, -0x7E /* 00001F64 */ 00001FE2 4A2E FFED tst.b [A6 - 0x13] 00001FE6 6700 003A beq +0x3C /* 00002022 */ 00001FEA 206E 0008 movea.l A0, [A6 + 0x8] 00001FEE 2F08 move.l -[A7], A0 00001FF0 3F3C 0001 move.w -[A7], 0x1 00001FF4 4EBA F468 jsr [PC - 0xB98 /* 0000145E */] 00001FF8 206E 0008 movea.l A0, [A6 + 0x8] 00001FFC 226E 0008 movea.l A1, [A6 + 0x8] 00002000 3029 0012 move.w D0, [A1 + 0x12] 00002004 5240 addq.w D0, 1 00002006 4E76 trapv 00002008 5340 subq.w D0, 1 0000200A 4E76 trapv 0000200C 5240 addq.w D0, 1 0000200E 3140 0012 move.w [A0 + 0x12], D0 00002012 206E 0008 movea.l A0, [A6 + 0x8] 00002016 2F08 move.l -[A7], A0 00002018 4267 clr.w -[A7] 0000201A 4EBA F442 jsr [PC - 0xBBE /* 0000145E */] 0000201E 6000 000C bra +0xE /* 0000202C */ label00002022: 00002022 206E 0008 movea.l A0, [A6 + 0x8] 00002026 2F08 move.l -[A7], A0 00002028 4EBA F98A jsr [PC - 0x676 /* 000019B4 */] label0000202C: 0000202C 7000 moveq.l D0, 0x00 0000202E 102E FFED move.b D0, [A6 - 0x13] 00002032 41BC 0001 1D40 .invalid 0, 0x11D40 // invalid opcode 4 with b == 6 00002038 000C 4CDF ori.b A4, 0xDF 0000203C 0080 4E5E 205F ori.l D0, 0x4E5E205F /* 'N^ _' */ 00002042 584F addq.w A7, 4 00002044 4ED0 jmp [A0] 00002046 4452 neg.w [A2] 00002048 4F50 chk.w D7, [A0] 0000204A 424C clr.w A4 0000204C 4F43 chk.w D7, D3 fn0000204E: 0000204E 4E56 FFEA link A6, -0x0016 00002052 48E7 0100 movem.l -[A7], D7 00002056 1D7C 0001 FFED move.b [A6 - 0x13], 0x1 0000205C 7E03 moveq.l D7, 0x03 0000205E 426E FFEE clr.w [A6 - 0x12] 00002062 426E FFEA clr.w [A6 - 0x16] label00002066: 00002066 206E 000A movea.l A0, [A6 + 0xA] 0000206A 302E FFEE move.w D0, [A6 - 0x12] 0000206E 41BC 0003 E340 .invalid 0, 0x3E340 // invalid opcode 4 with b == 6 00002074 226E 000A movea.l A1, [A6 + 0xA] 00002078 3030 0000 move.w D0, [A0 + D0.w] 0000207C D069 0010 add.w D0, [A1 + 0x10] 00002080 4E76 trapv 00002082 D06E 0008 add.w D0, [A6 + 0x8] 00002086 4E76 trapv 00002088 3200 move.w D1, D0 0000208A 5441 addq.w D1, 2 0000208C 43BC 000E C1FC .invalid 1, 0xEC1FC // invalid opcode 4 with b == 6 00002092 0032 206E 000A ori.b [A2 + D0.w + 0xA], 0x6E /* 'n' */ 00002098 322E FFEE move.w D1, [A6 - 0x12] 0000209C 43BC 0003 E341 .invalid 1, 0x3E341 // invalid opcode 4 with b == 6 000020A2 226E 000A movea.l A1, [A6 + 0xA] 000020A6 3230 1008 move.w D1, [A0 + D1.w + 0x8] 000020AA D269 0012 add.w D1, [A1 + 0x12] 000020AE 4E76 trapv 000020B0 3401 move.w D2, D1 000020B2 5442 addq.w D2, 2 000020B4 45BC 0018 E341 .invalid 2, 0x18E341 // invalid opcode 4 with b == 6 000020BA D041 add.w D0, D1 000020BC 0640 FAD2 addi.w D0, 0xFAD2 000020C0 0C75 0001 0000 cmpi.w [A5 + D0.w], 0x1 000020C6 6600 0006 bne +0x8 /* 000020CE */ 000020CA 422E FFED clr.b [A6 - 0x13] label000020CE: 000020CE 302E FFEE move.w D0, [A6 - 0x12] 000020D2 B06E FFEA cmp.w D0, [A6 - 0x16] 000020D6 6702 beq +0x4 /* 000020DA */ 000020D8 4E46 trap 6 label000020DA: 000020DA 526E FFEA addq.w [A6 - 0x16], 1 000020DE 526E FFEE addq.w [A6 - 0x12], 1 000020E2 51CF FF82 dbf D7, -0x80 /* 00002066 */ 000020E6 4A2E FFED tst.b [A6 - 0x13] 000020EA 6700 0038 beq +0x3A /* 00002124 */ 000020EE 206E 000A movea.l A0, [A6 + 0xA] 000020F2 2F08 move.l -[A7], A0 000020F4 3F3C 0001 move.w -[A7], 0x1 000020F8 4EBA F364 jsr [PC - 0xC9C /* 0000145E */] 000020FC 206E 000A movea.l A0, [A6 + 0xA] 00002100 226E 000A movea.l A1, [A6 + 0xA] 00002104 3029 0010 move.w D0, [A1 + 0x10] 00002108 D06E 0008 add.w D0, [A6 + 0x8] 0000210C 4E76 trapv 0000210E 5340 subq.w D0, 1 00002110 4E76 trapv 00002112 5240 addq.w D0, 1 00002114 3140 0010 move.w [A0 + 0x10], D0 00002118 206E 000A movea.l A0, [A6 + 0xA] 0000211C 2F08 move.l -[A7], A0 0000211E 4267 clr.w -[A7] 00002120 4EBA F33C jsr [PC - 0xCC4 /* 0000145E */] label00002124: 00002124 1D7C 0001 000E move.b [A6 + 0xE], 0x1 0000212A 4CDF 0080 movem.l D7, [A7]+ 0000212E 4E5E unlink A6 00002130 205F movea.l A0, [A7]+ 00002132 5C4F addq.w A7, 6 00002134 4ED0 jmp [A0] 00002136 5349 subq.w A1, 1 00002138 4445 neg.w D5 0000213A 424C clr.w A4 0000213C 4F43 chk.w D7, D3 export_16: fn0000213E: 0000213E 4E56 FFEE link A6, -0x0012 00002142 4E71 nop 00002144 4E71 nop 00002146 554F subq.w A7, 2 00002148 3F3C 000C move.w -[A7], 0xC 0000214C 42A7 clr.l -[A7] 0000214E 4EAD 006A jsr [A5 + 0x6A /* export_9 */] 00002152 301F move.w D0, [A7]+ 00002154 5340 subq.w D0, 1 00002156 4E76 trapv 00002158 5240 addq.w D0, 1 0000215A 3D40 FFEE move.w [A6 - 0x12], D0 0000215E 4E5E unlink A6 00002160 4E75 rts 00002162 4452 neg.w [A2] 00002164 4F50 chk.w D7, [A0] 00002166 5052 addq.w [A2], 8 00002168 4F43 chk.w D7, D3 fn0000216A: 0000216A 4E56 FFCE link A6, -0x0032 0000216E 4E71 nop 00002170 4E71 nop 00002172 2F2D F894 move.l -[A7], [A5 - 0x76C] 00002176 7003 moveq.l D0, 0x03 00002178 2F00 move.l -[A7], D0 0000217A 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 0000217E 4E76 trapv 00002180 7020 moveq.l D0, 0x20 00002182 909F sub.l D0, [A7]+ 00002184 4E76 trapv 00002186 81FC 0001 divs.w D0, 0x1 0000218A 4E76 trapv 0000218C 5340 subq.w D0, 1 0000218E 4E76 trapv 00002190 5240 addq.w D0, 1 00002192 3B40 F878 move.w [A5 - 0x788], D0 00002196 41ED F812 lea.l A0, [A5 - 0x7EE] 0000219A 2D48 FFD8 move.l [A6 - 0x28], A0 0000219E 3B7C 0001 F816 move.w [A5 - 0x7EA], 0x1 000021A4 41ED 00A2 lea.l A0, [A5 + 0xA2 /* export_16 */] 000021A8 2B48 F818 move.l [A5 - 0x7E8], A0 000021AC 2F2D F894 move.l -[A7], [A5 - 0x76C] 000021B0 7003 moveq.l D0, 0x03 000021B2 2F00 move.l -[A7], D0 000021B4 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 000021B8 4E76 trapv 000021BA 7020 moveq.l D0, 0x20 000021BC 909F sub.l D0, [A7]+ 000021BE 4E76 trapv 000021C0 81FC 0001 divs.w D0, 0x1 000021C4 4E76 trapv 000021C6 5340 subq.w D0, 1 000021C8 4E76 trapv 000021CA 5240 addq.w D0, 1 000021CC 3B40 F81C move.w [A5 - 0x7E4], D0 000021D0 426D F81E clr.w [A5 - 0x7E2] 000021D4 3B7C 1028 F87E move.w [A5 - 0x782], 0x1028 000021DA A852 syscall HideCursor 000021DC 4EBA E9E8 jsr [PC - 0x1618 /* 00000BC6 */] 000021E0 3B7C 0006 F87A move.w [A5 - 0x786], 0x6 000021E6 486E FFE0 pea.l [A6 - 0x20] 000021EA 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000021EE 3F3C 0083 move.w -[A7], 0x83 000021F2 3F3C 005A move.w -[A7], 0x5A /* 'Z' */ 000021F6 3F3C 0091 move.w -[A7], 0x91 000021FA A8A7 syscall SetRect 000021FC 486E FFE0 pea.l [A6 - 0x20] 00002200 A8A3 syscall EraseRect 00002202 3F3C 000B move.w -[A7], 0xB 00002206 3F3C 0091 move.w -[A7], 0x91 0000220A A893 syscall MoveTo 0000220C 487A 01EA pea.l [PC + 0x1EA /* 000023F8, value 0x1364E56 */] 00002210 A884 syscall DrawString 00002212 2F2D F894 move.l -[A7], [A5 - 0x76C] 00002216 2F3C 0000 1388 move.l -[A7], 0x1388 0000221C 4EAD 003A jsr [A5 + 0x3A /* export_3 */] 00002220 4E76 trapv 00002222 203C 0000 C350 move.l D0, 0xC350 00002228 909F sub.l D0, [A7]+ 0000222A 4E76 trapv 0000222C 2D40 FFEC move.l [A6 - 0x14], D0 00002230 42AD F870 clr.l [A5 - 0x790] label00002234: 00002234 554F subq.w A7, 2 00002236 486D F8A2 pea.l [A5 - 0x75E] 0000223A 4EBA F9D0 jsr [PC - 0x630 /* 00001C0C */] 0000223E 7000 moveq.l D0, 0x00 00002240 101F move.b D0, [A7]+ 00002242 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 00002248 F893 1B7C .extension 0x893 <> // unimplemented 0000224C 0001 F892 ori.b D1, 0x92 00002250 594F subq.w A7, 4 00002252 A975 syscall TickCount 00002254 302D F878 move.w D0, [A5 - 0x788] 00002258 48C0 ext.l D0 0000225A D09F add.l D0, [A7]+ 0000225C 4E76 trapv 0000225E 2D40 FFDC move.l [A6 - 0x24], D0 00002262 4A2D F893 tst.b [A5 - 0x76D] 00002266 6700 012C beq +0x12E /* 00002394 */ label0000226A: 0000226A 594F subq.w A7, 4 0000226C A975 syscall TickCount 0000226E 201F move.l D0, [A7]+ 00002270 B0AE FFDC cmp.l D0, [A6 - 0x24] 00002274 6D00 0018 blt +0x1A /* 0000228E */ 00002278 4EBA FEC4 jsr [PC - 0x13C /* 0000213E */] 0000227C 594F subq.w A7, 4 0000227E A975 syscall TickCount 00002280 302D F878 move.w D0, [A5 - 0x788] 00002284 48C0 ext.l D0 00002286 D09F add.l D0, [A7]+ 00002288 4E76 trapv 0000228A 2D40 FFDC move.l [A6 - 0x24], D0 label0000228E: 0000228E 554F subq.w A7, 2 00002290 302D F87E move.w D0, [A5 - 0x782] 00002294 5340 subq.w D0, 1 00002296 4E76 trapv 00002298 5240 addq.w D0, 1 0000229A 3F00 move.w -[A7], D0 0000229C 486D F880 pea.l [A5 - 0x780] 000022A0 A970 syscall GetNextEvent 000022A2 4A1F tst.b [A7]+ 000022A4 6700 00E6 beq +0xE8 /* 0000238C */ 000022A8 302D F880 move.w D0, [A5 - 0x780] 000022AC 6000 00CA bra +0xCC /* 00002378 */ label000022B0: 000022B0 202D F882 move.l D0, [A5 - 0x77E] 000022B4 0280 0000 00FF andi.l D0, 0xFF 000022BA 2B40 F874 move.l [A5 - 0x78C], D0 000022BE 202D F874 move.l D0, [A5 - 0x78C] 000022C2 B0AD F868 cmp.l D0, [A5 - 0x798] 000022C6 6600 0020 bne +0x22 /* 000022E8 */ 000022CA 554F subq.w A7, 2 000022CC 486D F8A2 pea.l [A5 - 0x75E] 000022D0 3F3C FFFF move.w -[A7], 0xFFFF 000022D4 4EBA FD78 jsr [PC - 0x288 /* 0000204E */] 000022D8 7000 moveq.l D0, 0x00 000022DA 101F move.b D0, [A7]+ 000022DC 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 000022E2 F892 6000 .extension 0x892 <> // unimplemented 000022E6 0074 202D F874 ori.w [A4 + A7 + 0x74], 0x202D /* ' -' */ // begin alternate branch 000022E8-000022EC label000022E8: 000022E8 202D F874 move.l D0, [A5 - 0x78C] // end alternate branch 000022E8-000022EC label000022E8: // (misaligned) 000022EC B0AD F864 cmp.l D0, [A5 - 0x79C] 000022F0 6600 0020 bne +0x22 /* 00002312 */ 000022F4 554F subq.w A7, 2 000022F6 486D F8A2 pea.l [A5 - 0x75E] 000022FA 3F3C 0001 move.w -[A7], 0x1 000022FE 4EBA FD4E jsr [PC - 0x2B2 /* 0000204E */] 00002302 7000 moveq.l D0, 0x00 00002304 101F move.b D0, [A7]+ 00002306 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 0000230C F892 6000 .extension 0x892 <> // unimplemented 00002310 004A 202D ori.w A2, 0x202D /* ' -' */ // begin alternate branch 00002312-00002320 label00002312: 00002312 202D F874 move.l D0, [A5 - 0x78C] 00002316 B0AD F860 cmp.l D0, [A5 - 0x7A0] 0000231A 6600 001C bne +0x1E /* 00002338 */ 0000231E 554F subq.w A7, 2 // end alternate branch 00002312-00002320 label00002312: // (misaligned) 00002314 F874 B0AD .extension 0x874 <>, 0xB0AD // unimplemented 00002318 F860 6600 .extension 0x860 <>, 0x6600 // unimplemented 0000231C 001C 554F ori.b [A4]+, 0x4F /* 'O' */ 00002320 486D F8A2 pea.l [A5 - 0x75E] 00002324 4EBA FA00 jsr [PC - 0x600 /* 00001D26 */] 00002328 7000 moveq.l D0, 0x00 0000232A 101F move.b D0, [A7]+ 0000232C 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 00002332 F892 6000 .extension 0x892 <> // unimplemented 00002336 0024 202D ori.b -[A4], 0x2D /* '-' */ // begin alternate branch 00002338-00002346 label00002338: 00002338 202D F874 move.l D0, [A5 - 0x78C] 0000233C B0AD F85C cmp.l D0, [A5 - 0x7A4] 00002340 6600 0018 bne +0x1A /* 0000235A */ label00002344: 00002344 554F subq.w A7, 2 // end alternate branch 00002338-00002346 label00002338: // (misaligned) 0000233A F874 B0AD .extension 0x874 <>, 0xB0AD // unimplemented 0000233E F85C 6600 .extension 0x85C <>, 0x6600 // unimplemented 00002342 0018 554F ori.b [A0]+, 0x4F /* 'O' */ label00002344: // (misaligned) 00002346 486D F8A2 pea.l [A5 - 0x75E] 0000234A 4EBA FC00 jsr [PC - 0x400 /* 00001F4C */] 0000234E 4A1F tst.b [A7]+ 00002350 6700 0008 beq +0xA /* 0000235A */ 00002354 422D F892 clr.b [A5 - 0x76E] 00002358 60EA bra -0x14 /* 00002344 */ label0000235A: 0000235A 6000 0030 bra +0x32 /* 0000238C */ label0000235E: 0000235E 554F subq.w A7, 2 00002360 486D F8A2 pea.l [A5 - 0x75E] 00002364 4EBA FBE6 jsr [PC - 0x41A /* 00001F4C */] 00002368 7000 moveq.l D0, 0x00 0000236A 101F move.b D0, [A7]+ 0000236C 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 00002372 F892 6000 .extension 0x892 <> // unimplemented 00002376 0016 67E4 ori.b [A6], 0xE4 // begin alternate branch 00002378-0000237A label00002378: 00002378 67E4 beq -0x1A /* 0000235E */ // end alternate branch 00002378-0000237A label00002378: // (misaligned) 0000237A 5740 subq.w D0, 3 0000237C 6700 FF32 beq -0xCC /* 000022B0 */ 00002380 5540 subq.w D0, 2 00002382 6700 FF2C beq -0xD2 /* 000022B0 */ 00002386 5F40 subq.w D0, 7 00002388 67D4 beq -0x2A /* 0000235E */ 0000238A 4E44 trap 4 label0000238C: 0000238C 4A2D F892 tst.b [A5 - 0x76E] 00002390 6600 FED8 bne -0x126 /* 0000226A */ label00002394: 00002394 4A2D F893 tst.b [A5 - 0x76D] 00002398 6600 FE9A bne -0x164 /* 00002234 */ 0000239C 554F subq.w A7, 2 0000239E 2F2E FFD8 move.l -[A7], [A6 - 0x28] 000023A2 4EAD 0092 jsr [A5 + 0x92 /* export_14 */] 000023A6 301F move.w D0, [A7]+ 000023A8 5340 subq.w D0, 1 000023AA 4E76 trapv 000023AC 5240 addq.w D0, 1 000023AE 3D40 FFD6 move.w [A6 - 0x2A], D0 000023B2 3F3C 1000 move.w -[A7], 0x1000 000023B6 4267 clr.w -[A7] 000023B8 4EAD 0062 jsr [A5 + 0x62 /* export_8 */] 000023BC 0C6D 0001 F898 cmpi.w [A5 - 0x768], 0x1 000023C2 6600 001A bne +0x1C /* 000023DE */ 000023C6 4EAD 0082 jsr [A5 + 0x82 /* export_12 */] 000023CA 2F2D F824 move.l -[A7], [A5 - 0x7DC] 000023CE 7024 moveq.l D0, 0x24 000023D0 2F00 move.l -[A7], D0 000023D2 70FF moveq.l D0, 0xFFFFFFFF 000023D4 2F00 move.l -[A7], D0 000023D6 4EAD 008A jsr [A5 + 0x8A /* export_13 */] 000023DA 4EAD 0082 jsr [A5 + 0x82 /* export_12 */] label000023DE: 000023DE A853 syscall ShowCursor 000023E0 4267 clr.w -[A7] 000023E2 A938 syscall HiliteMenu 000023E4 2F2D F870 move.l -[A7], [A5 - 0x790] 000023E8 4EBA DFE6 jsr [PC - 0x201A /* 000003D0 */] 000023EC 4E5E unlink A6 000023EE 4E75 rts 000023F0 4E45 trap 5 000023F2 5747 subq.w D7, 3 000023F4 414D chk.w D0, A5 000023F6 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4 000023F8 0136 4E56 btst [A6 + D4 * 8 + 0x56], D0 export_17: // at 000023FA (misaligned) 000023FC FFE4 .invalid <> 000023FE 4E71 nop 00002400 4E71 nop 00002402 554F subq.w A7, 2 00002404 2F2E 000A move.l -[A7], [A6 + 0xA] 00002408 A960 syscall GetControlValue/GetCtlValue 0000240A 301F move.w D0, [A7]+ 0000240C 5340 subq.w D0, 1 0000240E 4E76 trapv 00002410 5240 addq.w D0, 1 00002412 3D40 FFE6 move.w [A6 - 0x1A], D0 00002416 4A6E 0008 tst.w [A6 + 0x8] 0000241A 6700 027C beq +0x27E /* 00002698 */ 0000241E 302E 0008 move.w D0, [A6 + 0x8] 00002422 6000 0242 bra +0x244 /* 00002666 */ label00002426: 00002426 4A6E FFE6 tst.w [A6 - 0x1A] 0000242A 6F00 007A ble +0x7C /* 000024A6 */ 0000242E 4267 clr.w -[A7] 00002430 206D F820 movea.l A0, [A5 - 0x7E0] 00002434 2008 move.l D0, A0 00002436 6602 bne +0x4 /* 0000243A */ 00002438 4E40 trap 0 label0000243A: 0000243A 2050 movea.l A0, [A0] 0000243C 2008 move.l D0, A0 0000243E 6602 bne +0x4 /* 00002442 */ 00002440 4E40 trap 0 label00002442: 00002442 3028 0018 move.w D0, [A0 + 0x18] 00002446 5340 subq.w D0, 1 00002448 4E76 trapv 0000244A 5240 addq.w D0, 1 0000244C 3F00 move.w -[A7], D0 0000244E 2F2D F820 move.l -[A7], [A5 - 0x7E0] 00002452 A9DD syscall TEScroll 00002454 486E FFE8 pea.l [A6 - 0x18] 00002458 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000245C 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002460 3F3C 008C move.w -[A7], 0x8C 00002464 206D F820 movea.l A0, [A5 - 0x7E0] 00002468 2008 move.l D0, A0 0000246A 6602 bne +0x4 /* 0000246E */ 0000246C 4E40 trap 0 label0000246E: 0000246E 2050 movea.l A0, [A0] 00002470 2008 move.l D0, A0 00002472 6602 bne +0x4 /* 00002476 */ 00002474 4E40 trap 0 label00002476: 00002476 3028 0018 move.w D0, [A0 + 0x18] 0000247A 0640 000A addi.w D0, 0xA /* '\n' */ 0000247E 4E76 trapv 00002480 5340 subq.w D0, 1 00002482 4E76 trapv 00002484 5240 addq.w D0, 1 00002486 3F00 move.w -[A7], D0 00002488 A8A7 syscall SetRect 0000248A 486E FFE8 pea.l [A6 - 0x18] 0000248E A928 syscall InvalRect 00002490 2F2E 000A move.l -[A7], [A6 + 0xA] 00002494 302E FFE6 move.w D0, [A6 - 0x1A] 00002498 5340 subq.w D0, 1 0000249A 4E76 trapv 0000249C 5340 subq.w D0, 1 0000249E 4E76 trapv 000024A0 5240 addq.w D0, 1 000024A2 3F00 move.w -[A7], D0 000024A4 A963 syscall SetControlValue/SetCtlValue label000024A6: 000024A6 6000 01F0 bra +0x1F2 /* 00002698 */ label000024AA: 000024AA 0C6E 0064 FFE6 cmpi.w [A6 - 0x1A], 0x64 /* 'd' */ 000024B0 6C00 007C bge +0x7E /* 0000252E */ 000024B4 4267 clr.w -[A7] 000024B6 206D F820 movea.l A0, [A5 - 0x7E0] 000024BA 2008 move.l D0, A0 000024BC 6602 bne +0x4 /* 000024C0 */ 000024BE 4E40 trap 0 label000024C0: 000024C0 2050 movea.l A0, [A0] 000024C2 2008 move.l D0, A0 000024C4 6602 bne +0x4 /* 000024C8 */ 000024C6 4E40 trap 0 label000024C8: 000024C8 3028 0018 move.w D0, [A0 + 0x18] 000024CC 4440 neg.w D0 000024CE 5340 subq.w D0, 1 000024D0 4E76 trapv 000024D2 5240 addq.w D0, 1 000024D4 3F00 move.w -[A7], D0 000024D6 2F2D F820 move.l -[A7], [A5 - 0x7E0] 000024DA A9DD syscall TEScroll 000024DC 486E FFE8 pea.l [A6 - 0x18] 000024E0 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000024E4 206D F820 movea.l A0, [A5 - 0x7E0] 000024E8 2008 move.l D0, A0 000024EA 6602 bne +0x4 /* 000024EE */ 000024EC 4E40 trap 0 label000024EE: 000024EE 2050 movea.l A0, [A0] 000024F0 2008 move.l D0, A0 000024F2 6602 bne +0x4 /* 000024F6 */ 000024F4 4E40 trap 0 label000024F6: 000024F6 303C 00B4 move.w D0, 0xB4 000024FA 9068 0018 sub.w D0, [A0 + 0x18] 000024FE 4E76 trapv 00002500 5340 subq.w D0, 1 00002502 4E76 trapv 00002504 5240 addq.w D0, 1 00002506 3F00 move.w -[A7], D0 00002508 3F3C 008C move.w -[A7], 0x8C 0000250C 3F3C 00B4 move.w -[A7], 0xB4 00002510 A8A7 syscall SetRect 00002512 486E FFE8 pea.l [A6 - 0x18] 00002516 A928 syscall InvalRect 00002518 2F2E 000A move.l -[A7], [A6 + 0xA] 0000251C 302E FFE6 move.w D0, [A6 - 0x1A] 00002520 5240 addq.w D0, 1 00002522 4E76 trapv 00002524 5340 subq.w D0, 1 00002526 4E76 trapv 00002528 5240 addq.w D0, 1 0000252A 3F00 move.w -[A7], D0 0000252C A963 syscall SetControlValue/SetCtlValue label0000252E: 0000252E 6000 0168 bra +0x16A /* 00002698 */ label00002532: 00002532 6000 0164 bra +0x166 /* 00002698 */ label00002536: 00002536 4A6E FFE6 tst.w [A6 - 0x1A] 0000253A 6F00 008C ble +0x8E /* 000025C8 */ 0000253E 0C6E 000B FFE6 cmpi.w [A6 - 0x1A], 0xB 00002544 6F00 000C ble +0xE /* 00002552 */ 00002548 3D7C FFF4 FFE4 move.w [A6 - 0x1C], 0xFFF4 0000254E 6000 0012 bra +0x14 /* 00002562 */ label00002552: 00002552 302E FFE6 move.w D0, [A6 - 0x1A] 00002556 4440 neg.w D0 00002558 5340 subq.w D0, 1 0000255A 4E76 trapv 0000255C 5240 addq.w D0, 1 0000255E 3D40 FFE4 move.w [A6 - 0x1C], D0 label00002562: 00002562 4267 clr.w -[A7] 00002564 206D F820 movea.l A0, [A5 - 0x7E0] 00002568 2008 move.l D0, A0 0000256A 6602 bne +0x4 /* 0000256E */ 0000256C 4E40 trap 0 label0000256E: 0000256E 2050 movea.l A0, [A0] 00002570 2008 move.l D0, A0 00002572 6602 bne +0x4 /* 00002576 */ 00002574 4E40 trap 0 label00002576: 00002576 3028 0018 move.w D0, [A0 + 0x18] 0000257A C1EE FFE4 muls.w D0, [A6 - 0x1C] 0000257E 81FC 0001 divs.w D0, 0x1 00002582 4E76 trapv 00002584 4440 neg.w D0 00002586 5340 subq.w D0, 1 00002588 4E76 trapv 0000258A 5240 addq.w D0, 1 0000258C 3F00 move.w -[A7], D0 0000258E 2F2D F820 move.l -[A7], [A5 - 0x7E0] 00002592 A9DD syscall TEScroll 00002594 486E FFE8 pea.l [A6 - 0x18] 00002598 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000259C 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000025A0 3F3C 008C move.w -[A7], 0x8C 000025A4 3F3C 00B4 move.w -[A7], 0xB4 000025A8 A8A7 syscall SetRect 000025AA 486E FFE8 pea.l [A6 - 0x18] 000025AE A928 syscall InvalRect 000025B0 2F2E 000A move.l -[A7], [A6 + 0xA] 000025B4 302E FFE6 move.w D0, [A6 - 0x1A] 000025B8 D06E FFE4 add.w D0, [A6 - 0x1C] 000025BC 4E76 trapv 000025BE 5340 subq.w D0, 1 000025C0 4E76 trapv 000025C2 5240 addq.w D0, 1 000025C4 3F00 move.w -[A7], D0 000025C6 A963 syscall SetControlValue/SetCtlValue label000025C8: 000025C8 6000 00CE bra +0xD0 /* 00002698 */ label000025CC: 000025CC 0C6E 0064 FFE6 cmpi.w [A6 - 0x1A], 0x64 /* 'd' */ 000025D2 6C00 008E bge +0x90 /* 00002662 */ 000025D6 0C6E 0058 FFE6 cmpi.w [A6 - 0x1A], 0x58 /* 'X' */ 000025DC 6C00 000C bge +0xE /* 000025EA */ 000025E0 3D7C 000C FFE4 move.w [A6 - 0x1C], 0xC 000025E6 6000 0014 bra +0x16 /* 000025FC */ label000025EA: 000025EA 7064 moveq.l D0, 0x64 000025EC 906E FFE6 sub.w D0, [A6 - 0x1A] 000025F0 4E76 trapv 000025F2 5340 subq.w D0, 1 000025F4 4E76 trapv 000025F6 5240 addq.w D0, 1 000025F8 3D40 FFE4 move.w [A6 - 0x1C], D0 label000025FC: 000025FC 4267 clr.w -[A7] 000025FE 206D F820 movea.l A0, [A5 - 0x7E0] 00002602 2008 move.l D0, A0 00002604 6602 bne +0x4 /* 00002608 */ 00002606 4E40 trap 0 label00002608: 00002608 2050 movea.l A0, [A0] 0000260A 2008 move.l D0, A0 0000260C 6602 bne +0x4 /* 00002610 */ 0000260E 4E40 trap 0 label00002610: 00002610 3028 0018 move.w D0, [A0 + 0x18] 00002614 C1EE FFE4 muls.w D0, [A6 - 0x1C] 00002618 81FC 0001 divs.w D0, 0x1 0000261C 4E76 trapv 0000261E 4440 neg.w D0 00002620 5340 subq.w D0, 1 00002622 4E76 trapv 00002624 5240 addq.w D0, 1 00002626 3F00 move.w -[A7], D0 00002628 2F2D F820 move.l -[A7], [A5 - 0x7E0] 0000262C A9DD syscall TEScroll 0000262E 486E FFE8 pea.l [A6 - 0x18] 00002632 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002636 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000263A 3F3C 008C move.w -[A7], 0x8C 0000263E 3F3C 00B4 move.w -[A7], 0xB4 00002642 A8A7 syscall SetRect 00002644 486E FFE8 pea.l [A6 - 0x18] 00002648 A928 syscall InvalRect 0000264A 2F2E 000A move.l -[A7], [A6 + 0xA] 0000264E 302E FFE6 move.w D0, [A6 - 0x1A] 00002652 D06E FFE4 add.w D0, [A6 - 0x1C] 00002656 4E76 trapv 00002658 5340 subq.w D0, 1 0000265A 4E76 trapv 0000265C 5240 addq.w D0, 1 0000265E 3F00 move.w -[A7], D0 00002660 A963 syscall SetControlValue/SetCtlValue label00002662: 00002662 6000 0034 bra +0x36 /* 00002698 */ label00002666: 00002666 0640 FFF6 addi.w D0, 0xFFF6 0000266A 6700 FEC6 beq -0x138 /* 00002532 */ 0000266E 5340 subq.w D0, 1 00002670 6700 FEC0 beq -0x13E /* 00002532 */ 00002674 0640 FFF7 addi.w D0, 0xFFF7 00002678 6700 FDAC beq -0x252 /* 00002426 */ 0000267C 5340 subq.w D0, 1 0000267E 6700 FE2A beq -0x1D4 /* 000024AA */ 00002682 5340 subq.w D0, 1 00002684 6700 FEB0 beq -0x14E /* 00002536 */ 00002688 5340 subq.w D0, 1 0000268A 6700 FF40 beq -0xBE /* 000025CC */ 0000268E 0640 FF96 addi.w D0, 0xFF96 00002692 6700 FE9E beq -0x160 /* 00002532 */ 00002696 4E44 trap 4 label00002698: 00002698 4E5E unlink A6 0000269A 205F movea.l A0, [A7]+ 0000269C 5C4F addq.w A7, 6 0000269E 4ED0 jmp [A0] 000026A0 5343 subq.w D3, 1 000026A2 524F addq.w A7, 1 000026A4 4C4C 4143 movem.l D0,D1,D6,A0,A6, A4 fn000026A8: 000026A8 4E56 FF8A link A6, -0x0076 000026AC 4E71 nop 000026AE 4E71 nop 000026B0 594F subq.w A7, 4 000026B2 2F3C 5469 6E73 move.l -[A7], 0x54696E73 /* 'Tins' */ 000026B8 3F3C 03E9 move.w -[A7], 0x3E9 000026BC A9A0 syscall GetResource 000026BE 2D5F FFEC move.l [A6 - 0x14], [A7]+ 000026C2 594F subq.w A7, 4 000026C4 2F2E FFEC move.l -[A7], [A6 - 0x14] 000026C8 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc 000026CA 2D5F FFE8 move.l [A6 - 0x18], [A7]+ 000026CE 486E FFD8 pea.l [A6 - 0x28] 000026D2 3F3C 0078 move.w -[A7], 0x78 /* 'x' */ 000026D6 3F3C 0046 move.w -[A7], 0x46 /* 'F' */ 000026DA 3F3C 0122 move.w -[A7], 0x122 000026DE 3F3C 012C move.w -[A7], 0x12C 000026E2 A8A7 syscall SetRect 000026E4 486E FFD0 pea.l [A6 - 0x30] 000026E8 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000026EC 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000026F0 3F3C 008C move.w -[A7], 0x8C 000026F4 3F3C 00B4 move.w -[A7], 0xB4 000026F8 A8A7 syscall SetRect 000026FA 486E FFC8 pea.l [A6 - 0x38] 000026FE 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002702 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002706 3F3C 008C move.w -[A7], 0x8C 0000270A 3F3C 00B4 move.w -[A7], 0xB4 0000270E A8A7 syscall SetRect 00002710 486E FFC0 pea.l [A6 - 0x40] 00002714 3F3C 0096 move.w -[A7], 0x96 00002718 3F3C 000A move.w -[A7], 0xA /* '\n' */ 0000271C 3F3C 00A6 move.w -[A7], 0xA6 00002720 3F3C 00B4 move.w -[A7], 0xB4 00002724 A8A7 syscall SetRect 00002726 486E FFB8 pea.l [A6 - 0x48] 0000272A 3F3C 002D move.w -[A7], 0x2D /* '-' */ 0000272E 3F3C 00C8 move.w -[A7], 0xC8 00002732 3F3C 005F move.w -[A7], 0x5F /* '_' */ 00002736 3F3C 00DC move.w -[A7], 0xDC 0000273A A8A7 syscall SetRect 0000273C 486E FFC8 pea.l [A6 - 0x38] 00002740 3F3C FFFC move.w -[A7], 0xFFFC 00002744 3F3C FFFC move.w -[A7], 0xFFFC 00002748 A8A9 syscall InsetRect 0000274A 3F3C 0002 move.w -[A7], 0x2 0000274E 3F3C 0002 move.w -[A7], 0x2 00002752 A89B syscall PenSize 00002754 594F subq.w A7, 4 00002756 42A7 clr.l -[A7] 00002758 486E FFD8 pea.l [A6 - 0x28] 0000275C 487A 02DE pea.l [PC + 0x2DE /* 00002A3C, value 0xC496E73, pstring "Instructions" */] 00002760 1F3C 0001 move.b -[A7], 0x1 00002764 3F3C 0004 move.w -[A7], 0x4 00002768 70FF moveq.l D0, 0xFFFFFFFF 0000276A 2F00 move.l -[A7], D0 0000276C 4227 clr.b -[A7] 0000276E 42A7 clr.l -[A7] 00002770 A913 syscall NewWindow 00002772 2D5F FFE4 move.l [A6 - 0x1C], [A7]+ 00002776 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 0000277A A873 syscall SetPort 0000277C 3F3C 0002 move.w -[A7], 0x2 00002780 3F3C 0002 move.w -[A7], 0x2 00002784 A89B syscall PenSize 00002786 3F3C 0016 move.w -[A7], 0x16 0000278A A887 syscall TextFont 0000278C 486E FFC8 pea.l [A6 - 0x38] 00002790 A8A1 syscall FrameRect 00002792 486E FFC8 pea.l [A6 - 0x38] 00002796 3F3C 0004 move.w -[A7], 0x4 0000279A 3F3C 0004 move.w -[A7], 0x4 0000279E A8A9 syscall InsetRect 000027A0 594F subq.w A7, 4 000027A2 486E FFD0 pea.l [A6 - 0x30] 000027A6 486E FFC8 pea.l [A6 - 0x38] 000027AA A9D2 syscall TENew 000027AC 2B5F F820 move.l [A5 - 0x7E0], [A7]+ 000027B0 206E FFEC movea.l A0, [A6 - 0x14] 000027B4 2008 move.l D0, A0 000027B6 6602 bne +0x4 /* 000027BA */ 000027B8 4E40 trap 0 label000027BA: 000027BA 2F10 move.l -[A7], [A0] 000027BC 2F2E FFE8 move.l -[A7], [A6 - 0x18] 000027C0 2F2D F820 move.l -[A7], [A5 - 0x7E0] 000027C4 A9CF syscall TESetText 000027C6 486E FFC8 pea.l [A6 - 0x38] 000027CA A928 syscall InvalRect 000027CC 594F subq.w A7, 4 000027CE 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000027D2 486E FFC0 pea.l [A6 - 0x40] 000027D6 487A 0262 pea.l [PC + 0x262 /* 00002A3A, value 0x120C49, cstring "" */] 000027DA 1F3C 0001 move.b -[A7], 0x1 000027DE 4267 clr.w -[A7] 000027E0 4267 clr.w -[A7] 000027E2 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 000027E6 3F3C 0010 move.w -[A7], 0x10 000027EA 42A7 clr.l -[A7] 000027EC A954 syscall NewControl 000027EE 2D5F FFB4 move.l [A6 - 0x4C], [A7]+ 000027F2 594F subq.w A7, 4 000027F4 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000027F8 486E FFB8 pea.l [A6 - 0x48] 000027FC 487A 0236 pea.l [PC + 0x236 /* 00002A34, value 0x4446F6E, pstring "Done" */] 00002800 1F3C 0001 move.b -[A7], 0x1 00002804 4267 clr.w -[A7] 00002806 4267 clr.w -[A7] 00002808 3F3C 0001 move.w -[A7], 0x1 0000280C 4267 clr.w -[A7] 0000280E 42A7 clr.l -[A7] 00002810 A954 syscall NewControl 00002812 2D5F FFAC move.l [A6 - 0x54], [A7]+ 00002816 422E FF9B clr.b [A6 - 0x65] label0000281A: 0000281A 554F subq.w A7, 2 0000281C 3F3C FFFF move.w -[A7], 0xFFFF 00002820 486E FF9C pea.l [A6 - 0x64] 00002824 A970 syscall GetNextEvent 00002826 4A1F tst.b [A7]+ 00002828 6700 01D8 beq +0x1DA /* 00002A02 */ 0000282C 302E FF9C move.w D0, [A6 - 0x64] 00002830 6000 01A6 bra +0x1A8 /* 000029D8 */ 00002834 554F subq.w A7, 2 00002836 2F2E FFA6 move.l -[A7], [A6 - 0x5A] 0000283A 486E FFE0 pea.l [A6 - 0x20] 0000283E A92C syscall FindWindow 00002840 301F move.w D0, [A7]+ 00002842 5340 subq.w D0, 1 00002844 4E76 trapv 00002846 5240 addq.w D0, 1 00002848 3D40 FF98 move.w [A6 - 0x68], D0 0000284C 0C6E 0003 FF98 cmpi.w [A6 - 0x68], 0x3 00002852 57C0 seq D0 00002854 4400 neg.b D0 00002856 222E FFE0 move.l D1, [A6 - 0x20] 0000285A B2AE FFE4 cmp.l D1, [A6 - 0x1C] 0000285E 57C1 seq D1 00002860 4401 neg.b D1 00002862 C001 and.b D0, D1 00002864 4A00 tst.b D0 00002866 6700 0114 beq +0x116 /* 0000297C */ 0000286A 486E FFA6 pea.l [A6 - 0x5A] 0000286E A871 syscall GlobalToLocal 00002870 554F subq.w A7, 2 00002872 2F2E FFA6 move.l -[A7], [A6 - 0x5A] 00002876 2F2E FFE0 move.l -[A7], [A6 - 0x20] 0000287A 486E FFB0 pea.l [A6 - 0x50] 0000287E A96C syscall FindControl 00002880 301F move.w D0, [A7]+ 00002882 5340 subq.w D0, 1 00002884 4E76 trapv 00002886 5240 addq.w D0, 1 00002888 3D40 FF96 move.w [A6 - 0x6A], D0 0000288C 4A6E FF96 tst.w [A6 - 0x6A] 00002890 56C0 sne D0 00002892 4400 neg.b D0 00002894 0C6E 0081 FF96 cmpi.w [A6 - 0x6A], 0x81 0000289A 56C1 sne D1 0000289C 4401 neg.b D1 0000289E C001 and.b D0, D1 000028A0 4A00 tst.b D0 000028A2 6700 0034 beq +0x36 /* 000028D8 */ 000028A6 554F subq.w A7, 2 000028A8 2F2E FFB0 move.l -[A7], [A6 - 0x50] 000028AC 2F2E FFA6 move.l -[A7], [A6 - 0x5A] 000028B0 41ED 00AA lea.l A0, [A5 + 0xAA /* export_17 */] 000028B4 2F08 move.l -[A7], A0 000028B6 A968 syscall TrackControl 000028B8 301F move.w D0, [A7]+ 000028BA 5340 subq.w D0, 1 000028BC 4E76 trapv 000028BE 5240 addq.w D0, 1 000028C0 3D40 FF96 move.w [A6 - 0x6A], D0 000028C4 0C6E 000A FF96 cmpi.w [A6 - 0x6A], 0xA /* '\n' */ 000028CA 6600 0008 bne +0xA /* 000028D4 */ 000028CE 1D7C 0001 FF9B move.b [A6 - 0x65], 0x1 label000028D4: 000028D4 6000 00A2 bra +0xA4 /* 00002978 */ label000028D8: 000028D8 0C6E 0081 FF96 cmpi.w [A6 - 0x6A], 0x81 000028DE 6600 0098 bne +0x9A /* 00002978 */ 000028E2 554F subq.w A7, 2 000028E4 2F2E FFB0 move.l -[A7], [A6 - 0x50] 000028E8 A960 syscall GetControlValue/GetCtlValue 000028EA 301F move.w D0, [A7]+ 000028EC 5340 subq.w D0, 1 000028EE 4E76 trapv 000028F0 5240 addq.w D0, 1 000028F2 3D40 FF94 move.w [A6 - 0x6C], D0 000028F6 554F subq.w A7, 2 000028F8 2F2E FFB0 move.l -[A7], [A6 - 0x50] 000028FC 2F2E FFA6 move.l -[A7], [A6 - 0x5A] 00002900 42A7 clr.l -[A7] 00002902 A968 syscall TrackControl 00002904 301F move.w D0, [A7]+ 00002906 5340 subq.w D0, 1 00002908 4E76 trapv 0000290A 5240 addq.w D0, 1 0000290C 3D40 FF96 move.w [A6 - 0x6A], D0 00002910 554F subq.w A7, 2 00002912 2F2E FFB0 move.l -[A7], [A6 - 0x50] 00002916 A960 syscall GetControlValue/GetCtlValue 00002918 301F move.w D0, [A7]+ 0000291A 906E FF94 sub.w D0, [A6 - 0x6C] 0000291E 4E76 trapv 00002920 5340 subq.w D0, 1 00002922 4E76 trapv 00002924 5240 addq.w D0, 1 00002926 3D40 FF92 move.w [A6 - 0x6E], D0 0000292A 4267 clr.w -[A7] 0000292C 206D F820 movea.l A0, [A5 - 0x7E0] 00002930 2008 move.l D0, A0 00002932 6602 bne +0x4 /* 00002936 */ 00002934 4E40 trap 0 label00002936: 00002936 2050 movea.l A0, [A0] 00002938 2008 move.l D0, A0 0000293A 6602 bne +0x4 /* 0000293E */ 0000293C 4E40 trap 0 label0000293E: 0000293E 3028 0018 move.w D0, [A0 + 0x18] 00002942 C1EE FF92 muls.w D0, [A6 - 0x6E] 00002946 81FC 0001 divs.w D0, 0x1 0000294A 4E76 trapv 0000294C 4440 neg.w D0 0000294E 5340 subq.w D0, 1 00002950 4E76 trapv 00002952 5240 addq.w D0, 1 00002954 3F00 move.w -[A7], D0 00002956 2F2D F820 move.l -[A7], [A5 - 0x7E0] 0000295A A9DD syscall TEScroll 0000295C 486E FFC0 pea.l [A6 - 0x40] 00002960 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002964 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002968 3F3C 008C move.w -[A7], 0x8C 0000296C 3F3C 00B4 move.w -[A7], 0xB4 00002970 A8A7 syscall SetRect 00002972 486E FFC0 pea.l [A6 - 0x40] 00002976 A928 syscall InvalRect label00002978: 00002978 6000 000E bra +0x10 /* 00002988 */ label0000297C: 0000297C 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00002980 A91F syscall SelectWindow 00002982 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00002986 A9C8 syscall SysBeep label00002988: 00002988 6000 0078 bra +0x7A /* 00002A02 */ 0000298C 302E FFAA move.w D0, [A6 - 0x56] 00002990 0240 0001 andi.w D0, 0x1 00002994 4A40 tst.w D0 00002996 6700 000C beq +0xE /* 000029A4 */ 0000299A 2F2D F820 move.l -[A7], [A5 - 0x7E0] 0000299E A9D8 syscall TEActivate 000029A0 6000 0008 bra +0xA /* 000029AA */ label000029A4: 000029A4 2F2D F820 move.l -[A7], [A5 - 0x7E0] 000029A8 A9D9 syscall TEDeactivate label000029AA: 000029AA 6000 0056 bra +0x58 /* 00002A02 */ 000029AE 2F2E FF9E move.l -[A7], [A6 - 0x62] 000029B2 A922 syscall BeginUpdate 000029B4 486E FFC8 pea.l [A6 - 0x38] 000029B8 A8A3 syscall EraseRect 000029BA 486E FFC8 pea.l [A6 - 0x38] 000029BE 2F2D F820 move.l -[A7], [A5 - 0x7E0] 000029C2 A9D3 syscall TEUpdate 000029C4 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 000029C8 A969 syscall DrawControls 000029CA 2F2E FF9E move.l -[A7], [A6 - 0x62] 000029CE A923 syscall EndUpdate 000029D0 6000 0030 bra +0x32 /* 00002A02 */ 000029D4 6000 002C bra +0x2E /* 00002A02 */ label000029D8: 000029D8 0C40 000C cmpi.w D0, 0xC 000029DC 6422 bcc +0x24 /* 00002A00 */ 000029DE D040 add.w D0, D0 000029E0 303B 0006 move.w D0, [PC + D0.w + 0x6] 000029E4 4EFB 0002 jmp [PC + D0.w + 0x2] 000029E8 FFEC .invalid <> 000029EA FE4C FFEC .extension 0xE4C <>, 0xFFEC // unimplemented 000029EE FFEC .invalid <> 000029F0 FFEC .invalid <> 000029F2 FFEC .invalid <> 000029F4 FFC6 .invalid <> 000029F6 FFEC .invalid <> 000029F8 FFA4 .invalid <> 000029FA 0018 FFEC ori.b [A0]+, 0xEC 000029FE FFEC .invalid <> label00002A00: 00002A00 4E44 trap 4 label00002A02: 00002A02 4A2E FF9B tst.b [A6 - 0x65] 00002A06 6700 FE12 beq -0x1EC /* 0000281A */ 00002A0A 2F2D F9CA move.l -[A7], [A5 - 0x636] 00002A0E A91F syscall SelectWindow 00002A10 2F2D F9CA move.l -[A7], [A5 - 0x636] 00002A14 A873 syscall SetPort 00002A16 2F2E FFE4 move.l -[A7], [A6 - 0x1C] 00002A1A A914 syscall DisposeWindow 00002A1C 2F2D F820 move.l -[A7], [A5 - 0x7E0] 00002A20 A9CD syscall TEDispose 00002A22 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002A26 A9A3 syscall ReleaseResource 00002A28 4E5E unlink A6 00002A2A 4E75 rts 00002A2C 494E chk.w D4, A6 00002A2E 5354 subq.w [A4], 1 00002A30 5255 addq.w [A5], 1 00002A32 4354 chk.w D1, [A4] 00002A34 0444 6F6E subi.w D4, 0x6F6E /* 'on' */ 00002A38 6512 bcs +0x14 /* 00002A4C */ 00002A3A 0012 0C49 ori.b [A2], 0x49 /* 'I' */ 00002A3E 6E73 bgt +0x75 /* 00002AB3 */ 00002A40 7472 moveq.l D2, 0x72 00002A42 7563 moveq.l D2, 0x63 00002A44 7469 moveq.l D2, 0x69 00002A46 6F6E ble +0x70 /* 00002AB6 */ 00002A48 7312 moveq.l D1, 0x12 fn00002A4A: 00002A4A 4E56 FFEA link A6, -0x0016 // begin alternate branch 00002A4C-00002A4E label00002A4C: 00002A4C FFEA .invalid <> // end alternate branch 00002A4C-00002A4E label00002A4C: // (misaligned) 00002A4E 4E71 nop 00002A50 4E71 nop 00002A52 594F subq.w A7, 4 00002A54 3F3C 029C move.w -[A7], 0x29C 00002A58 42A7 clr.l -[A7] 00002A5A 70FF moveq.l D0, 0xFFFFFFFF 00002A5C 2F00 move.l -[A7], D0 00002A5E A97C syscall GetNewDialog 00002A60 2D5F FFEC move.l [A6 - 0x14], [A7]+ 00002A64 42A7 clr.l -[A7] 00002A66 486E FFEA pea.l [A6 - 0x16] 00002A6A A991 syscall ModalDialog 00002A6C 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002A70 A983 syscall DisposeDialog 00002A72 4E5E unlink A6 00002A74 4E75 rts 00002A76 4142 chk.w D0, D2 00002A78 4F55 chk.w D7, [A5] 00002A7A 5450 addq.w [A0], 2 00002A7C 524F addq.w A7, 1 fn00002A7E: 00002A7E 4E56 FBD6 link A6, -0x042A 00002A82 4E71 nop 00002A84 4E71 nop 00002A86 302D F896 move.w D0, [A5 - 0x76A] 00002A8A 5340 subq.w D0, 1 00002A8C 4E76 trapv 00002A8E 5240 addq.w D0, 1 00002A90 3D40 FFE8 move.w [A6 - 0x18], D0 00002A94 302D F898 move.w D0, [A5 - 0x768] 00002A98 5340 subq.w D0, 1 00002A9A 4E76 trapv 00002A9C 5240 addq.w D0, 1 00002A9E 3D40 FFE2 move.w [A6 - 0x1E], D0 00002AA2 302D F89C move.w D0, [A5 - 0x764] 00002AA6 5340 subq.w D0, 1 00002AA8 4E76 trapv 00002AAA 5240 addq.w D0, 1 00002AAC 3D40 FFE6 move.w [A6 - 0x1A], D0 00002AB0 3D7C 0120 FED6 move.w [A6 - 0x12A], 0x120 label00002AB6: 00002AB6 3D7C 0120 FDD6 move.w [A6 - 0x22A], 0x120 00002ABC 3D7C 0120 FCD6 move.w [A6 - 0x32A], 0x120 00002AC2 3D7C 0120 FBD6 move.w [A6 - 0x42A], 0x120 00002AC8 486E FED6 pea.l [A6 - 0x12A] 00002ACC 3F3C 0001 move.w -[A7], 0x1 00002AD0 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002AD4 6402 bcc +0x4 /* 00002AD8 */ 00002AD6 4E42 trap 2 label00002AD8: 00002AD8 302D F86A move.w D0, [A5 - 0x796] 00002ADC 41BC 00FF 1D40 .invalid 0, 0xFF1D40 // invalid opcode 4 with b == 6 00002AE2 FED7 486E .extension 0xED7 <> // unimplemented 00002AE6 FDD6 .invalid <> 00002AE8 3F3C 0001 move.w -[A7], 0x1 00002AEC 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002AF0 6402 bcc +0x4 /* 00002AF4 */ 00002AF2 4E42 trap 2 label00002AF4: 00002AF4 302D F866 move.w D0, [A5 - 0x79A] 00002AF8 41BC 00FF 1D40 .invalid 0, 0xFF1D40 // invalid opcode 4 with b == 6 00002AFE FDD7 .invalid <> 00002B00 486E FCD6 pea.l [A6 - 0x32A] 00002B04 3F3C 0001 move.w -[A7], 0x1 00002B08 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002B0C 6402 bcc +0x4 /* 00002B10 */ 00002B0E 4E42 trap 2 label00002B10: 00002B10 302D F862 move.w D0, [A5 - 0x79E] 00002B14 41BC 00FF 1D40 .invalid 0, 0xFF1D40 // invalid opcode 4 with b == 6 00002B1A FCD7 486E .extension 0xCD7 <> // unimplemented 00002B1E FBD6 .invalid <> 00002B20 3F3C 0001 move.w -[A7], 0x1 00002B24 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002B28 6402 bcc +0x4 /* 00002B2C */ 00002B2A 4E42 trap 2 label00002B2C: 00002B2C 302D F85E move.w D0, [A5 - 0x7A2] 00002B30 41BC 00FF 1D40 .invalid 0, 0xFF1D40 // invalid opcode 4 with b == 6 00002B36 FBD7 .invalid <> 00002B38 594F subq.w A7, 4 00002B3A 3F3C 029F move.w -[A7], 0x29F 00002B3E 42A7 clr.l -[A7] 00002B40 70FF moveq.l D0, 0xFFFFFFFF 00002B42 2F00 move.l -[A7], D0 00002B44 A97C syscall GetNewDialog 00002B46 2D5F FFEC move.l [A6 - 0x14], [A7]+ 00002B4A 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002B4E 3F3C 0010 move.w -[A7], 0x10 00002B52 486E FFE4 pea.l [A6 - 0x1C] 00002B56 486E FFDE pea.l [A6 - 0x22] 00002B5A 486E FFD6 pea.l [A6 - 0x2A] 00002B5E A98D syscall GetDialogItem/GetDItem 00002B60 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002B64 486E FED6 pea.l [A6 - 0x12A] 00002B68 A98F syscall SetDialogItemText/SetIText 00002B6A 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002B6E 3F3C 0012 move.w -[A7], 0x12 00002B72 486E FFE4 pea.l [A6 - 0x1C] 00002B76 486E FFDE pea.l [A6 - 0x22] 00002B7A 486E FFD6 pea.l [A6 - 0x2A] 00002B7E A98D syscall GetDialogItem/GetDItem 00002B80 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002B84 486E FDD6 pea.l [A6 - 0x22A] 00002B88 A98F syscall SetDialogItemText/SetIText 00002B8A 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002B8E 3F3C 0014 move.w -[A7], 0x14 00002B92 486E FFE4 pea.l [A6 - 0x1C] 00002B96 486E FFDE pea.l [A6 - 0x22] 00002B9A 486E FFD6 pea.l [A6 - 0x2A] 00002B9E A98D syscall GetDialogItem/GetDItem 00002BA0 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002BA4 486E FCD6 pea.l [A6 - 0x32A] 00002BA8 A98F syscall SetDialogItemText/SetIText 00002BAA 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002BAE 3F3C 0016 move.w -[A7], 0x16 00002BB2 486E FFE4 pea.l [A6 - 0x1C] 00002BB6 486E FFDE pea.l [A6 - 0x22] 00002BBA 486E FFD6 pea.l [A6 - 0x2A] 00002BBE A98D syscall GetDialogItem/GetDItem 00002BC0 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002BC4 486E FBD6 pea.l [A6 - 0x42A] 00002BC8 A98F syscall SetDialogItemText/SetIText 00002BCA 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002BCE 302E FFE8 move.w D0, [A6 - 0x18] 00002BD2 5640 addq.w D0, 3 00002BD4 4E76 trapv 00002BD6 5340 subq.w D0, 1 00002BD8 4E76 trapv 00002BDA 5240 addq.w D0, 1 00002BDC 3F00 move.w -[A7], D0 00002BDE 486E FFE4 pea.l [A6 - 0x1C] 00002BE2 486E FFDE pea.l [A6 - 0x22] 00002BE6 486E FFD6 pea.l [A6 - 0x2A] 00002BEA A98D syscall GetDialogItem/GetDItem 00002BEC 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002BF0 3F3C 0001 move.w -[A7], 0x1 00002BF4 A963 syscall SetControlValue/SetCtlValue 00002BF6 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002BFA 302E FFE6 move.w D0, [A6 - 0x1A] 00002BFE 0640 0018 addi.w D0, 0x18 00002C02 4E76 trapv 00002C04 5340 subq.w D0, 1 00002C06 4E76 trapv 00002C08 5240 addq.w D0, 1 00002C0A 3F00 move.w -[A7], D0 00002C0C 486E FFE4 pea.l [A6 - 0x1C] 00002C10 486E FFDE pea.l [A6 - 0x22] 00002C14 486E FFD6 pea.l [A6 - 0x2A] 00002C18 A98D syscall GetDialogItem/GetDItem 00002C1A 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002C1E 3F3C 0001 move.w -[A7], 0x1 00002C22 A963 syscall SetControlValue/SetCtlValue 00002C24 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002C28 3F3C 001A move.w -[A7], 0x1A 00002C2C 486E FFE4 pea.l [A6 - 0x1C] 00002C30 486E FFDE pea.l [A6 - 0x22] 00002C34 486E FFD6 pea.l [A6 - 0x2A] 00002C38 A98D syscall GetDialogItem/GetDItem 00002C3A 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002C3E 302E FFE2 move.w D0, [A6 - 0x1E] 00002C42 5340 subq.w D0, 1 00002C44 4E76 trapv 00002C46 5240 addq.w D0, 1 00002C48 3F00 move.w -[A7], D0 00002C4A A963 syscall SetControlValue/SetCtlValue label00002C4C: 00002C4C 42A7 clr.l -[A7] 00002C4E 486E FFEA pea.l [A6 - 0x16] 00002C52 A991 syscall ModalDialog 00002C54 0C6E 0003 FFEA cmpi.w [A6 - 0x16], 0x3 00002C5A 5EC0 sgt D0 00002C5C 4400 neg.b D0 00002C5E 0C6E 000E FFEA cmpi.w [A6 - 0x16], 0xE 00002C64 5DC1 slt D1 00002C66 4401 neg.b D1 00002C68 C001 and.b D0, D1 00002C6A 4A00 tst.b D0 00002C6C 6700 006E beq +0x70 /* 00002CDC */ 00002C70 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002C74 302E FFE8 move.w D0, [A6 - 0x18] 00002C78 5640 addq.w D0, 3 00002C7A 4E76 trapv 00002C7C 5340 subq.w D0, 1 00002C7E 4E76 trapv 00002C80 5240 addq.w D0, 1 00002C82 3F00 move.w -[A7], D0 00002C84 486E FFE4 pea.l [A6 - 0x1C] 00002C88 486E FFDE pea.l [A6 - 0x22] 00002C8C 486E FFD6 pea.l [A6 - 0x2A] 00002C90 A98D syscall GetDialogItem/GetDItem 00002C92 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002C96 4267 clr.w -[A7] 00002C98 A963 syscall SetControlValue/SetCtlValue 00002C9A 302E FFEA move.w D0, [A6 - 0x16] 00002C9E 5740 subq.w D0, 3 00002CA0 4E76 trapv 00002CA2 5340 subq.w D0, 1 00002CA4 4E76 trapv 00002CA6 5240 addq.w D0, 1 00002CA8 3D40 FFE8 move.w [A6 - 0x18], D0 00002CAC 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002CB0 302E FFE8 move.w D0, [A6 - 0x18] 00002CB4 5640 addq.w D0, 3 00002CB6 4E76 trapv 00002CB8 5340 subq.w D0, 1 00002CBA 4E76 trapv 00002CBC 5240 addq.w D0, 1 00002CBE 3F00 move.w -[A7], D0 00002CC0 486E FFE4 pea.l [A6 - 0x1C] 00002CC4 486E FFDE pea.l [A6 - 0x22] 00002CC8 486E FFD6 pea.l [A6 - 0x2A] 00002CCC A98D syscall GetDialogItem/GetDItem 00002CCE 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002CD2 3F3C 0001 move.w -[A7], 0x1 00002CD6 A963 syscall SetControlValue/SetCtlValue 00002CD8 6000 00DA bra +0xDC /* 00002DB4 */ label00002CDC: 00002CDC 0C6E 0018 FFEA cmpi.w [A6 - 0x16], 0x18 00002CE2 57C0 seq D0 00002CE4 4400 neg.b D0 00002CE6 0C6E 0019 FFEA cmpi.w [A6 - 0x16], 0x19 00002CEC 57C1 seq D1 00002CEE 4401 neg.b D1 00002CF0 8001 or.b D0, D1 00002CF2 4A00 tst.b D0 00002CF4 6700 0074 beq +0x76 /* 00002D6A */ 00002CF8 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002CFC 302E FFE6 move.w D0, [A6 - 0x1A] 00002D00 0640 0018 addi.w D0, 0x18 00002D04 4E76 trapv 00002D06 5340 subq.w D0, 1 00002D08 4E76 trapv 00002D0A 5240 addq.w D0, 1 00002D0C 3F00 move.w -[A7], D0 00002D0E 486E FFE4 pea.l [A6 - 0x1C] 00002D12 486E FFDE pea.l [A6 - 0x22] 00002D16 486E FFD6 pea.l [A6 - 0x2A] 00002D1A A98D syscall GetDialogItem/GetDItem 00002D1C 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002D20 4267 clr.w -[A7] 00002D22 A963 syscall SetControlValue/SetCtlValue 00002D24 302E FFEA move.w D0, [A6 - 0x16] 00002D28 0640 FFE8 addi.w D0, 0xFFE8 00002D2C 4E76 trapv 00002D2E 5340 subq.w D0, 1 00002D30 4E76 trapv 00002D32 5240 addq.w D0, 1 00002D34 3D40 FFE6 move.w [A6 - 0x1A], D0 00002D38 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002D3C 302E FFE6 move.w D0, [A6 - 0x1A] 00002D40 0640 0018 addi.w D0, 0x18 00002D44 4E76 trapv 00002D46 5340 subq.w D0, 1 00002D48 4E76 trapv 00002D4A 5240 addq.w D0, 1 00002D4C 3F00 move.w -[A7], D0 00002D4E 486E FFE4 pea.l [A6 - 0x1C] 00002D52 486E FFDE pea.l [A6 - 0x22] 00002D56 486E FFD6 pea.l [A6 - 0x2A] 00002D5A A98D syscall GetDialogItem/GetDItem 00002D5C 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002D60 3F3C 0001 move.w -[A7], 0x1 00002D64 A963 syscall SetControlValue/SetCtlValue 00002D66 6000 004C bra +0x4E /* 00002DB4 */ label00002D6A: 00002D6A 0C6E 001A FFEA cmpi.w [A6 - 0x16], 0x1A 00002D70 6600 0042 bne +0x44 /* 00002DB4 */ 00002D74 0C6E 0001 FFE2 cmpi.w [A6 - 0x1E], 0x1 00002D7A 6600 000A bne +0xC /* 00002D86 */ 00002D7E 426E FFE2 clr.w [A6 - 0x1E] 00002D82 6000 0008 bra +0xA /* 00002D8C */ label00002D86: 00002D86 3D7C 0001 FFE2 move.w [A6 - 0x1E], 0x1 label00002D8C: 00002D8C 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002D90 3F3C 001A move.w -[A7], 0x1A 00002D94 486E FFE4 pea.l [A6 - 0x1C] 00002D98 486E FFDE pea.l [A6 - 0x22] 00002D9C 486E FFD6 pea.l [A6 - 0x2A] 00002DA0 A98D syscall GetDialogItem/GetDItem 00002DA2 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002DA6 302E FFE2 move.w D0, [A6 - 0x1E] 00002DAA 5340 subq.w D0, 1 00002DAC 4E76 trapv 00002DAE 5240 addq.w D0, 1 00002DB0 3F00 move.w -[A7], D0 00002DB2 A963 syscall SetControlValue/SetCtlValue label00002DB4: 00002DB4 0C6E 0001 FFEA cmpi.w [A6 - 0x16], 0x1 00002DBA 57C0 seq D0 00002DBC 4400 neg.b D0 00002DBE 0C6E 0002 FFEA cmpi.w [A6 - 0x16], 0x2 00002DC4 57C1 seq D1 00002DC6 4401 neg.b D1 00002DC8 8001 or.b D0, D1 00002DCA 4A00 tst.b D0 00002DCC 6700 FE7E beq -0x180 /* 00002C4C */ 00002DD0 0C6E 0001 FFEA cmpi.w [A6 - 0x16], 0x1 00002DD6 6600 0118 bne +0x11A /* 00002EF0 */ 00002DDA 302E FFE6 move.w D0, [A6 - 0x1A] 00002DDE 5340 subq.w D0, 1 00002DE0 4E76 trapv 00002DE2 5240 addq.w D0, 1 00002DE4 3B40 F89C move.w [A5 - 0x764], D0 00002DE8 302E FFE8 move.w D0, [A6 - 0x18] 00002DEC 48C0 ext.l D0 00002DEE 2B40 F894 move.l [A5 - 0x76C], D0 00002DF2 302E FFE2 move.w D0, [A6 - 0x1E] 00002DF6 5340 subq.w D0, 1 00002DF8 4E76 trapv 00002DFA 5240 addq.w D0, 1 00002DFC 3B40 F898 move.w [A5 - 0x768], D0 00002E00 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002E04 3F3C 0010 move.w -[A7], 0x10 00002E08 486E FFE4 pea.l [A6 - 0x1C] 00002E0C 486E FFDE pea.l [A6 - 0x22] 00002E10 486E FFD6 pea.l [A6 - 0x2A] 00002E14 A98D syscall GetDialogItem/GetDItem 00002E16 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002E1A 486E FED6 pea.l [A6 - 0x12A] 00002E1E A990 syscall GetDialogItemText/GetIText 00002E20 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002E24 3F3C 0012 move.w -[A7], 0x12 00002E28 486E FFE4 pea.l [A6 - 0x1C] 00002E2C 486E FFDE pea.l [A6 - 0x22] 00002E30 486E FFD6 pea.l [A6 - 0x2A] 00002E34 A98D syscall GetDialogItem/GetDItem 00002E36 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002E3A 486E FDD6 pea.l [A6 - 0x22A] 00002E3E A990 syscall GetDialogItemText/GetIText 00002E40 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002E44 3F3C 0014 move.w -[A7], 0x14 00002E48 486E FFE4 pea.l [A6 - 0x1C] 00002E4C 486E FFDE pea.l [A6 - 0x22] 00002E50 486E FFD6 pea.l [A6 - 0x2A] 00002E54 A98D syscall GetDialogItem/GetDItem 00002E56 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002E5A 486E FCD6 pea.l [A6 - 0x32A] 00002E5E A990 syscall GetDialogItemText/GetIText 00002E60 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002E64 3F3C 0016 move.w -[A7], 0x16 00002E68 486E FFE4 pea.l [A6 - 0x1C] 00002E6C 486E FFDE pea.l [A6 - 0x22] 00002E70 486E FFD6 pea.l [A6 - 0x2A] 00002E74 A98D syscall GetDialogItem/GetDItem 00002E76 2F2E FFDE move.l -[A7], [A6 - 0x22] 00002E7A 486E FBD6 pea.l [A6 - 0x42A] 00002E7E A990 syscall GetDialogItemText/GetIText 00002E80 486E FED6 pea.l [A6 - 0x12A] 00002E84 3F3C 0001 move.w -[A7], 0x1 00002E88 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002E8C 6402 bcc +0x4 /* 00002E90 */ 00002E8E 4E42 trap 2 label00002E90: 00002E90 7000 moveq.l D0, 0x00 00002E92 102E FED7 move.b D0, [A6 - 0x129] 00002E96 48C0 ext.l D0 00002E98 2B40 F868 move.l [A5 - 0x798], D0 00002E9C 486E FDD6 pea.l [A6 - 0x22A] 00002EA0 3F3C 0001 move.w -[A7], 0x1 00002EA4 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002EA8 6402 bcc +0x4 /* 00002EAC */ 00002EAA 4E42 trap 2 label00002EAC: 00002EAC 7000 moveq.l D0, 0x00 00002EAE 102E FDD7 move.b D0, [A6 - 0x229] 00002EB2 48C0 ext.l D0 00002EB4 2B40 F864 move.l [A5 - 0x79C], D0 00002EB8 486E FCD6 pea.l [A6 - 0x32A] 00002EBC 3F3C 0001 move.w -[A7], 0x1 00002EC0 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002EC4 6402 bcc +0x4 /* 00002EC8 */ 00002EC6 4E42 trap 2 label00002EC8: 00002EC8 7000 moveq.l D0, 0x00 00002ECA 102E FCD7 move.b D0, [A6 - 0x329] 00002ECE 48C0 ext.l D0 00002ED0 2B40 F860 move.l [A5 - 0x7A0], D0 00002ED4 486E FBD6 pea.l [A6 - 0x42A] 00002ED8 3F3C 0001 move.w -[A7], 0x1 00002EDC 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00002EE0 6402 bcc +0x4 /* 00002EE4 */ 00002EE2 4E42 trap 2 label00002EE4: 00002EE4 7000 moveq.l D0, 0x00 00002EE6 102E FBD7 move.b D0, [A6 - 0x429] 00002EEA 48C0 ext.l D0 00002EEC 2B40 F85C move.l [A5 - 0x7A4], D0 label00002EF0: 00002EF0 2F2E FFEC move.l -[A7], [A6 - 0x14] 00002EF4 A983 syscall DisposeDialog 00002EF6 4E5E unlink A6 00002EF8 4E75 rts 00002EFA 444F neg.w A7 00002EFC 5345 subq.w D5, 1 00002EFE 5454 addq.w [A4], 2 00002F00 494E chk.w D4, A6 fn00002F02: 00002F02 4E56 FFF0 link A6, -0x0010 00002F06 4E71 nop 00002F08 4E71 nop 00002F0A 0C6E 0081 0008 cmpi.w [A6 + 0x8], 0x81 00002F10 6600 0028 bne +0x2A /* 00002F3A */ 00002F14 0C6E 0001 000A cmpi.w [A6 + 0xA], 0x1 00002F1A 6600 000A bne +0xC /* 00002F26 */ 00002F1E 4EBA F24A jsr [PC - 0xDB6 /* 0000216A */] 00002F22 6000 0012 bra +0x14 /* 00002F36 */ label00002F26: 00002F26 0C6E 0003 000A cmpi.w [A6 + 0xA], 0x3 00002F2C 6600 0008 bne +0xA /* 00002F36 */ 00002F30 1B7C 0001 F891 move.b [A5 - 0x76F], 0x1 label00002F36: 00002F36 6000 00BC bra +0xBE /* 00002FF4 */ label00002F3A: 00002F3A 0C6E 0080 0008 cmpi.w [A6 + 0x8], 0x80 00002F40 6600 0048 bne +0x4A /* 00002F8A */ 00002F44 0C6E 0001 000A cmpi.w [A6 + 0xA], 0x1 00002F4A 6600 000A bne +0xC /* 00002F56 */ 00002F4E 4EBA FAFA jsr [PC - 0x506 /* 00002A4A */] 00002F52 6000 0032 bra +0x34 /* 00002F86 */ label00002F56: 00002F56 2F2D F858 move.l -[A7], [A5 - 0x7A8] 00002F5A 302E 000A move.w D0, [A6 + 0xA] 00002F5E 5340 subq.w D0, 1 00002F60 4E76 trapv 00002F62 5240 addq.w D0, 1 00002F64 3F00 move.w -[A7], D0 00002F66 486D F8B6 pea.l [A5 - 0x74A] 00002F6A A946 syscall GetMenuItemText/GetItem 00002F6C 554F subq.w A7, 2 00002F6E 486D F8B6 pea.l [A5 - 0x74A] 00002F72 A9B6 syscall OpenDeskAcc 00002F74 301F move.w D0, [A7]+ 00002F76 5340 subq.w D0, 1 00002F78 4E76 trapv 00002F7A 5240 addq.w D0, 1 00002F7C 3B40 F89E move.w [A5 - 0x762], D0 00002F80 2F2D F9CA move.l -[A7], [A5 - 0x636] 00002F84 A873 syscall SetPort label00002F86: 00002F86 6000 006C bra +0x6E /* 00002FF4 */ label00002F8A: 00002F8A 0C6E 0082 0008 cmpi.w [A6 + 0x8], 0x82 00002F90 6600 0026 bne +0x28 /* 00002FB8 */ 00002F94 554F subq.w A7, 2 00002F96 302E 000A move.w D0, [A6 + 0xA] 00002F9A 5340 subq.w D0, 1 00002F9C 4E76 trapv 00002F9E 5340 subq.w D0, 1 00002FA0 4E76 trapv 00002FA2 5240 addq.w D0, 1 00002FA4 3F00 move.w -[A7], D0 00002FA6 A9C2 syscall SysEdit 00002FA8 7000 moveq.l D0, 0x00 00002FAA 101F move.b D0, [A7]+ 00002FAC 41BC 0001 1B40 .invalid 0, 0x11B40 // invalid opcode 4 with b == 6 00002FB2 F890 6000 .extension 0x890 <> // unimplemented 00002FB6 003E 0C6E ori.b <>, 0x6E /* 'n' */ // begin alternate branch 00002FB8-00002FDA label00002FB8: 00002FB8 0C6E 0083 0008 cmpi.w [A6 + 0x8], 0x83 00002FBE 6600 0034 bne +0x36 /* 00002FF4 */ 00002FC2 0C6E 0001 000A cmpi.w [A6 + 0xA], 0x1 00002FC8 6600 000A bne +0xC /* 00002FD4 */ 00002FCC 4EBA F6DA jsr [PC - 0x926 /* 000026A8 */] 00002FD0 6000 0022 bra +0x24 /* 00002FF4 */ label00002FD4: 00002FD4 0C6E 0002 000A cmpi.w [A6 + 0xA], 0x2 // end alternate branch 00002FB8-00002FDA label00002FB8: // (misaligned) 00002FBA 0083 0008 6600 ori.l D3, 0x86600 00002FC0 0034 0C6E 0001 ori.b [A4 + D0.w + 0x1], 0x6E /* 'n' */ 00002FC6 000A 6600 ori.b A2, 0x0 00002FCA 000A 4EBA ori.b A2, 0xBA 00002FCE F6DA 6000 .extension 0x6DA <> // unimplemented 00002FD2 0022 0C6E ori.b -[A2], 0x6E /* 'n' */ label00002FD4: // (misaligned) 00002FD6 0002 000A ori.b D2, 0xA /* '\n' */ 00002FDA 6600 000A bne +0xC /* 00002FE6 */ 00002FDE 4EBA FA9E jsr [PC - 0x562 /* 00002A7E */] 00002FE2 6000 0010 bra +0x12 /* 00002FF4 */ label00002FE6: 00002FE6 0C6E 0003 000A cmpi.w [A6 + 0xA], 0x3 00002FEC 6600 0006 bne +0x8 /* 00002FF4 */ 00002FF0 4EBA D2D2 jsr [PC - 0x2D2E /* 000002C4 */] label00002FF4: 00002FF4 4267 clr.w -[A7] 00002FF6 A938 syscall HiliteMenu 00002FF8 4E5E unlink A6 00002FFA 205F movea.l A0, [A7]+ 00002FFC 584F addq.w A7, 4 00002FFE 4ED0 jmp [A0] 00003000 4D45 chk.w D6, D5 00003002 4E55 444F link A5, -0xFFFFBBB1 00003006 2020 move.l D0, -[A0] export_15: 00003008 50E7 st -[A7] 0000300A 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 0000300E 4E56 FFF0 link A6, -0x0010 00003012 4EBA DFF2 jsr [PC - 0x200E /* 00001006 */] 00003016 3F3C FFFF move.w -[A7], 0xFFFF 0000301A 4267 clr.w -[A7] 0000301C 4EAD 0062 jsr [A5 + 0x62 /* export_8 */] 00003020 4EBA DBA4 jsr [PC - 0x245C /* 00000BC6 */] label00003024: 00003024 422D F891 clr.b [A5 - 0x76F] 00003028 3B7C 014A F87E move.w [A5 - 0x782], 0x14A label0000302E: 0000302E A9B4 syscall SystemTask 00003030 554F subq.w A7, 2 00003032 3F3C FFFF move.w -[A7], 0xFFFF 00003036 486D F880 pea.l [A5 - 0x780] 0000303A A970 syscall GetNextEvent 0000303C 4A1F tst.b [A7]+ 0000303E 67EE beq -0x10 /* 0000302E */ 00003040 0C6D 0001 F880 cmpi.w [A5 - 0x780], 0x1 00003046 6600 0072 bne +0x74 /* 000030BA */ 0000304A 554F subq.w A7, 2 0000304C 2F2D F88A move.l -[A7], [A5 - 0x776] 00003050 486D F9C6 pea.l [A5 - 0x63A] 00003054 A92C syscall FindWindow 00003056 0C5F 0001 cmpi.w [A7]+, 0x1 0000305A 6600 001A bne +0x1C /* 00003076 */ 0000305E 594F subq.w A7, 4 00003060 2F2D F88A move.l -[A7], [A5 - 0x776] 00003064 A93D syscall MenuSelect 00003066 2B5F F86C move.l [A5 - 0x794], [A7]+ 0000306A 2F2D F86C move.l -[A7], [A5 - 0x794] 0000306E 4EBA FE92 jsr [PC - 0x16E /* 00002F02 */] 00003072 6000 0042 bra +0x44 /* 000030B6 */ label00003076: 00003076 554F subq.w A7, 2 00003078 2F2D F88A move.l -[A7], [A5 - 0x776] 0000307C 486D F9C6 pea.l [A5 - 0x63A] 00003080 A92C syscall FindWindow 00003082 0C5F 0002 cmpi.w [A7]+, 0x2 00003086 6600 0010 bne +0x12 /* 00003098 */ 0000308A 486D F880 pea.l [A5 - 0x780] 0000308E 2F2D F9C6 move.l -[A7], [A5 - 0x63A] 00003092 A9B3 syscall SystemClick 00003094 6000 0020 bra +0x22 /* 000030B6 */ label00003098: 00003098 554F subq.w A7, 2 0000309A 2F2D F88A move.l -[A7], [A5 - 0x776] 0000309E 486D F9C6 pea.l [A5 - 0x63A] 000030A2 A92C syscall FindWindow 000030A4 0C5F 0003 cmpi.w [A7]+, 0x3 000030A8 6600 000C bne +0xE /* 000030B6 */ 000030AC 2F2D F9CA move.l -[A7], [A5 - 0x636] 000030B0 A91F syscall SelectWindow 000030B2 6000 0002 bra +0x4 /* 000030B6 */ label000030B6: 000030B6 6000 007C bra +0x7E /* 00003134 */ label000030BA: 000030BA 0C6D 0006 F880 cmpi.w [A5 - 0x780], 0x6 000030C0 6600 0022 bne +0x24 /* 000030E4 */ 000030C4 2F2D F882 move.l -[A7], [A5 - 0x77E] 000030C8 A922 syscall BeginUpdate 000030CA 4EBA DC60 jsr [PC - 0x23A0 /* 00000D2C */] 000030CE 486D F834 pea.l [A5 - 0x7CC] 000030D2 4EBA D9D4 jsr [PC - 0x262C /* 00000AA8 */] 000030D6 4EBA E4D8 jsr [PC - 0x1B28 /* 000015B0 */] 000030DA 2F2D F882 move.l -[A7], [A5 - 0x77E] 000030DE A923 syscall EndUpdate 000030E0 6000 0052 bra +0x54 /* 00003134 */ label000030E4: 000030E4 0C6D 0008 F880 cmpi.w [A5 - 0x780], 0x8 000030EA 6600 0010 bne +0x12 /* 000030FC */ 000030EE 3F3C FFFF move.w -[A7], 0xFFFF 000030F2 4267 clr.w -[A7] 000030F4 4EAD 0062 jsr [A5 + 0x62 /* export_8 */] 000030F8 6000 003A bra +0x3C /* 00003134 */ label000030FC: 000030FC 0C6D 0003 F880 cmpi.w [A5 - 0x780], 0x3 00003102 6600 0030 bne +0x32 /* 00003134 */ 00003106 302D F88E move.w D0, [A5 - 0x772] 0000310A 0240 0100 andi.w D0, 0x100 0000310E 4A40 tst.w D0 00003110 6700 0022 beq +0x24 /* 00003134 */ 00003114 594F subq.w A7, 4 00003116 202D F882 move.l D0, [A5 - 0x77E] 0000311A 0280 0000 00FF andi.l D0, 0xFF 00003120 41BC 00FF 3F00 .invalid 0, 0xFF3F00 // invalid opcode 4 with b == 6 00003126 A93E syscall MenuKey 00003128 2B5F F86C move.l [A5 - 0x794], [A7]+ 0000312C 2F2D F86C move.l -[A7], [A5 - 0x794] 00003130 4EBA FDD0 jsr [PC - 0x230 /* 00002F02 */] label00003134: 00003134 4A2D F891 tst.b [A5 - 0x76F] 00003138 6700 FEEA beq -0x114 /* 00003024 */ 0000313C 4E5E unlink A6 0000313E 4EAD 0032 jsr [A5 + 0x32 /* export_2 */] 00003142 4E5E unlink A6 00003144 4E75 rts 00003146 5445 addq.w D5, 2 00003148 5452 addq.w [A2], 2 0000314A 4953 chk.w D4, [A3] 0000314C 2020 move.l D0, -[A0]